Mercurial > hg > precise-onset-detection
comparison ofxPreciseOnsetDetectorOffline/testApp.h @ 7:b1c13e8bec26
adding new files
author | Venetian |
---|---|
date | Thu, 14 Aug 2014 16:27:52 +0100 |
parents | 50f62c48b421 |
children |
comparison
equal
deleted
inserted
replaced
6:eb29c6b6dff8 | 7:b1c13e8bec26 |
---|---|
1 #pragma once | 1 #pragma once |
2 | 2 |
3 #include "ofMain.h" | 3 #include "ofMain.h" |
4 | 4 |
5 #include "PreciseOnsetDetectorOffline.h" | 5 #include "PreciseOnsetDetector.h" |
6 #include "PreciseOnsetVisualiser.h" | |
7 | 6 |
8 #include "ofxWindowRegion.h" | 7 |
9 #include "ofxPlotFunction.h" | 8 //#include "ofxWindowRegion.h" |
9 //#include "ofxPlotFunction.h" | |
10 | 10 |
11 class testApp : public ofBaseApp{ | 11 class testApp : public ofBaseApp{ |
12 public: | 12 public: |
13 void setup(); | 13 void setup(); |
14 void update(); | 14 void update(); |
28 void loadNewFile(std::string filename); | 28 void loadNewFile(std::string filename); |
29 bool getFilenameFromDialogBox(string* fileNameToSave); | 29 bool getFilenameFromDialogBox(string* fileNameToSave); |
30 | 30 |
31 | 31 |
32 //vars | 32 //vars |
33 PreciseOnsetDetectorOffline preciseOnsetDetect; | 33 // PreciseOnsetDetectorOffline preciseOnsetDetect; |
34 // PreciseOnsetVisualiser pov; | |
34 | 35 |
35 PreciseOnsetVisualiser pov; | 36 PreciseOnsetDetector onsetDetector; |
36 }; | 37 }; |