Mercurial > hg > precise-onset-detection
annotate ofxPreciseOnsetDetectorOffline/testApp.h @ 3:50f62c48b421
Small change
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Fri, 03 Jan 2014 17:43:02 +0000 |
parents | 7ec1ed0b2eb0 |
children | b1c13e8bec26 |
rev | line source |
---|---|
andrew@2 | 1 #pragma once |
andrew@2 | 2 |
andrew@2 | 3 #include "ofMain.h" |
andrew@2 | 4 |
andrew@2 | 5 #include "PreciseOnsetDetectorOffline.h" |
andrew@2 | 6 #include "PreciseOnsetVisualiser.h" |
andrew@2 | 7 |
andrew@2 | 8 #include "ofxWindowRegion.h" |
andrew@2 | 9 #include "ofxPlotFunction.h" |
andrew@2 | 10 |
andrew@2 | 11 class testApp : public ofBaseApp{ |
andrew@2 | 12 public: |
andrew@2 | 13 void setup(); |
andrew@2 | 14 void update(); |
andrew@2 | 15 void draw(); |
andrew@2 | 16 |
andrew@3 | 17 |
andrew@2 | 18 void keyPressed(int key); |
andrew@2 | 19 void keyReleased(int key); |
andrew@2 | 20 void mouseMoved(int x, int y); |
andrew@2 | 21 void mouseDragged(int x, int y, int button); |
andrew@2 | 22 void mousePressed(int x, int y, int button); |
andrew@2 | 23 void mouseReleased(int x, int y, int button); |
andrew@2 | 24 void windowResized(int w, int h); |
andrew@2 | 25 void dragEvent(ofDragInfo dragInfo); |
andrew@2 | 26 void gotMessage(ofMessage msg); |
andrew@2 | 27 |
andrew@2 | 28 void loadNewFile(std::string filename); |
andrew@2 | 29 bool getFilenameFromDialogBox(string* fileNameToSave); |
andrew@2 | 30 |
andrew@2 | 31 |
andrew@2 | 32 //vars |
andrew@2 | 33 PreciseOnsetDetectorOffline preciseOnsetDetect; |
andrew@2 | 34 |
andrew@2 | 35 PreciseOnsetVisualiser pov; |
andrew@2 | 36 }; |