annotate ofxPreciseOnsetDetectorOffline/PreciseOnsetDetector.h @ 8:184a7c232049 tip

changed files since updating computer
author Venetian
date Thu, 14 Aug 2014 17:53:57 +0100
parents b1c13e8bec26
children
rev   line source
Venetian@7 1 /*
Venetian@7 2 * PreciseOnsetDetector.h
Venetian@7 3 * ofxPreciseOnsetDetectionOffline
Venetian@7 4 *
Venetian@7 5 * Created by Andrew N Robertson on 11/04/2014.
Venetian@7 6 * Copyright 2014 QMUL. All rights reserved.
Venetian@7 7 *
Venetian@7 8 */
Venetian@7 9
Venetian@7 10 #ifndef PRECISE_ONSET_DETECTOR
Venetian@7 11 #define PRECISE_ONSET_DETECTOR
Venetian@7 12
Venetian@7 13
Venetian@7 14 #include "PreciseOnsetDetectorOffline.h"
Venetian@7 15 #include "PreciseOnsetVisualiser.h"
Venetian@7 16
Venetian@7 17 #include "ofxWindowRegion.h"
Venetian@7 18 #include "ofxPlotFunction.h"
Venetian@7 19
Venetian@7 20 #include "PreciseOnsetDetectorOffline.h"
Venetian@7 21
Venetian@7 22 //this holds both the detection process and the visualiser for the result
Venetian@7 23 //easy interfacing from OF
Venetian@7 24
Venetian@7 25 class PreciseOnsetDetector{
Venetian@7 26 public:
Venetian@7 27 PreciseOnsetDetector();
Venetian@7 28 ~PreciseOnsetDetector();
Venetian@7 29
Venetian@7 30 void loadNewFile(std::string filename);
Venetian@7 31
Venetian@7 32 void update();
Venetian@7 33 void draw();
Venetian@7 34
Venetian@7 35 void keyPressed(int key);
Venetian@7 36 void mousePressed(int x, int y, int button);
Venetian@7 37
Venetian@7 38 bool getFilenameFromDialogBox(std::string* fileNameToSave);
Venetian@7 39
Venetian@7 40 //vars
Venetian@7 41 PreciseOnsetDetectorOffline pod;
Venetian@7 42 PreciseOnsetVisualiser pov;
Venetian@7 43 };
Venetian@7 44 #endif