Mercurial > hg > precise-onset-detection
annotate ofxPreciseOnsetDetectorOffline/PreciseBassOnsetDetector.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 * PreciseBassOnsetDetector.h |
Venetian@7 | 3 * BasslinePrediction |
Venetian@7 | 4 * |
Venetian@7 | 5 * Created by Andrew N Robertson on 13/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_BASS_ONSET_DETECTOR |
Venetian@7 | 11 #define PRECISE_BASS_ONSET_DETECTOR |
Venetian@7 | 12 |
Venetian@7 | 13 //#include "PreciseOnsetDetector.h" |
Venetian@7 | 14 //#include "PreciseBassOnsetDetectorOffline.h" |
Venetian@7 | 15 |
Venetian@7 | 16 //#include "PreciseOnsetDetectorOffline.h" |
Venetian@7 | 17 #include "PreciseOnsetVisualiser.h" |
Venetian@7 | 18 |
Venetian@7 | 19 #include "ofxWindowRegion.h" |
Venetian@7 | 20 #include "ofxPlotFunction.h" |
Venetian@7 | 21 |
Venetian@7 | 22 #include "PreciseBassOnsetDetectorOffline.h" |
Venetian@7 | 23 |
Venetian@7 | 24 |
Venetian@7 | 25 class PreciseBassOnsetDetector{ |
Venetian@7 | 26 public: |
Venetian@7 | 27 |
Venetian@7 | 28 PreciseBassOnsetDetector(); |
Venetian@7 | 29 ~PreciseBassOnsetDetector(); |
Venetian@7 | 30 |
Venetian@7 | 31 void loadNewFile(std::string filename); |
Venetian@7 | 32 |
Venetian@7 | 33 void update(); |
Venetian@7 | 34 void draw(); |
Venetian@7 | 35 |
Venetian@7 | 36 void keyPressed(int key); |
Venetian@7 | 37 void mousePressed(int x, int y, int button); |
Venetian@7 | 38 |
Venetian@7 | 39 bool getFilenameFromDialogBox(std::string* fileNameToSave); |
Venetian@7 | 40 |
Venetian@7 | 41 PreciseBassOnsetDetectorOffline pod; |
Venetian@7 | 42 PreciseOnsetVisualiser pov; |
Venetian@7 | 43 }; |
Venetian@7 | 44 |
Venetian@7 | 45 #endif |