Mercurial > hg > precise-onset-detection
comparison ofxPreciseOnsetDetectorOffline/PreciseBassOnsetDetector.h @ 7:b1c13e8bec26
adding new files
author | Venetian |
---|---|
date | Thu, 14 Aug 2014 16:27:52 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
6:eb29c6b6dff8 | 7:b1c13e8bec26 |
---|---|
1 /* | |
2 * PreciseBassOnsetDetector.h | |
3 * BasslinePrediction | |
4 * | |
5 * Created by Andrew N Robertson on 13/04/2014. | |
6 * Copyright 2014 QMUL. All rights reserved. | |
7 * | |
8 */ | |
9 | |
10 #ifndef PRECISE_BASS_ONSET_DETECTOR | |
11 #define PRECISE_BASS_ONSET_DETECTOR | |
12 | |
13 //#include "PreciseOnsetDetector.h" | |
14 //#include "PreciseBassOnsetDetectorOffline.h" | |
15 | |
16 //#include "PreciseOnsetDetectorOffline.h" | |
17 #include "PreciseOnsetVisualiser.h" | |
18 | |
19 #include "ofxWindowRegion.h" | |
20 #include "ofxPlotFunction.h" | |
21 | |
22 #include "PreciseBassOnsetDetectorOffline.h" | |
23 | |
24 | |
25 class PreciseBassOnsetDetector{ | |
26 public: | |
27 | |
28 PreciseBassOnsetDetector(); | |
29 ~PreciseBassOnsetDetector(); | |
30 | |
31 void loadNewFile(std::string filename); | |
32 | |
33 void update(); | |
34 void draw(); | |
35 | |
36 void keyPressed(int key); | |
37 void mousePressed(int x, int y, int button); | |
38 | |
39 bool getFilenameFromDialogBox(std::string* fileNameToSave); | |
40 | |
41 PreciseBassOnsetDetectorOffline pod; | |
42 PreciseOnsetVisualiser pov; | |
43 }; | |
44 | |
45 #endif |