Mercurial > hg > precise-onset-detection
view ofxPreciseOnsetDetectorOffline/testApp.cpp @ 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
#include "testApp.h" //possible to just omit the drawing (uses ofxWindowRegion for the screen and ofxPlotFunction to plot beat times) //w: export window //x:export whole file //o: open file //-------------------------------------------------------------- void testApp::setup(){ } //-------------------------------------------------------------- void testApp::update(){ onsetDetector.update(); } //-------------------------------------------------------------- void testApp::draw(){ onsetDetector.draw(); } //-------------------------------------------------------------- void testApp::keyPressed(int key){ onsetDetector.keyPressed(key); } //-------------------------------------------------------------- void testApp::keyReleased(int key){ } //-------------------------------------------------------------- void testApp::mouseMoved(int x, int y){ } //-------------------------------------------------------------- void testApp::mouseDragged(int x, int y, int button){ } //-------------------------------------------------------------- void testApp::mousePressed(int x, int y, int button){ onsetDetector.mousePressed(x,y,button); } //-------------------------------------------------------------- void testApp::mouseReleased(int x, int y, int button){ } //-------------------------------------------------------------- void testApp::windowResized(int w, int h){ } //-------------------------------------------------------------- void testApp::gotMessage(ofMessage msg){ } //-------------------------------------------------------------- void testApp::dragEvent(ofDragInfo dragInfo){ }