From: Paul Brossier Date: Tue, 19 Jan 2016 20:14:20 +0000 (+0100) Subject: merge tatum in ledotron X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=09cde5c41afd7742a176f24223c60b3cf8444e2e;p=ofxAubio.git merge tatum in ledotron --- 09cde5c41afd7742a176f24223c60b3cf8444e2e diff --cc example_aubioDemo/src/ofApp.cpp index 7d8a9bb,b0c5196..4fa0fac --- a/example_aubioDemo/src/ofApp.cpp +++ b/example_aubioDemo/src/ofApp.cpp @@@ -189,7 -186,8 +197,13 @@@ void ofApp::beatEvent(float & time) gotBeat = true; } + //---- + void ofApp::tatumEvent(int & t) { + //ofLog() << "got tatum at " << time << " samples"; + gotTatum = true; + } ++ +//--- +void ofApp::onsetClassEvent(int & t) { + //ofLog() << "got onset class event at " << t << " "; +} diff --cc example_aubioDemo/src/ofApp.h index 4f3e9a4,8714b12..eeaadc8 --- a/example_aubioDemo/src/ofApp.h +++ b/example_aubioDemo/src/ofApp.h @@@ -28,7 -28,7 +28,8 @@@ class ofApp : public ofBaseApp void onsetEvent(float & time); void beatEvent(float & time); + void tatumEvent(int & t); + void onsetClassEvent(int & t); private: ofxAubioOnset onset;