Mercurial > hg > precise-onset-detection
diff ofxPreciseOnsetDetectorOffline/PreciseBassOnsetDetector.h @ 7:b1c13e8bec26
adding new files
author | Venetian |
---|---|
date | Thu, 14 Aug 2014 16:27:52 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ofxPreciseOnsetDetectorOffline/PreciseBassOnsetDetector.h Thu Aug 14 16:27:52 2014 +0100 @@ -0,0 +1,45 @@ +/* + * PreciseBassOnsetDetector.h + * BasslinePrediction + * + * Created by Andrew N Robertson on 13/04/2014. + * Copyright 2014 QMUL. All rights reserved. + * + */ + +#ifndef PRECISE_BASS_ONSET_DETECTOR +#define PRECISE_BASS_ONSET_DETECTOR + +//#include "PreciseOnsetDetector.h" +//#include "PreciseBassOnsetDetectorOffline.h" + +//#include "PreciseOnsetDetectorOffline.h" +#include "PreciseOnsetVisualiser.h" + +#include "ofxWindowRegion.h" +#include "ofxPlotFunction.h" + +#include "PreciseBassOnsetDetectorOffline.h" + + +class PreciseBassOnsetDetector{ +public: + + PreciseBassOnsetDetector(); + ~PreciseBassOnsetDetector(); + + void loadNewFile(std::string filename); + + void update(); + void draw(); + + void keyPressed(int key); + void mousePressed(int x, int y, int button); + + bool getFilenameFromDialogBox(std::string* fileNameToSave); + + PreciseBassOnsetDetectorOffline pod; + PreciseOnsetVisualiser pov; +}; + +#endif \ No newline at end of file