Mercurial > hg > precise-onset-detection
view 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 |
line wrap: on
line source
/* * PreciseOnsetDetector.h * ofxPreciseOnsetDetectionOffline * * Created by Andrew N Robertson on 11/04/2014. * Copyright 2014 QMUL. All rights reserved. * */ #ifndef PRECISE_ONSET_DETECTOR #define PRECISE_ONSET_DETECTOR #include "PreciseOnsetDetectorOffline.h" #include "PreciseOnsetVisualiser.h" #include "ofxWindowRegion.h" #include "ofxPlotFunction.h" #include "PreciseOnsetDetectorOffline.h" //this holds both the detection process and the visualiser for the result //easy interfacing from OF class PreciseOnsetDetector{ public: PreciseOnsetDetector(); ~PreciseOnsetDetector(); 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); //vars PreciseOnsetDetectorOffline pod; PreciseOnsetVisualiser pov; }; #endif