Mercurial > hg > precise-onset-detection
annotate ofxPreciseOnsetDetectorOffline/testApp.h @ 8:184a7c232049 tip
changed files since updating computer
author | Venetian |
---|---|
date | Thu, 14 Aug 2014 17:53:57 +0100 |
parents | b1c13e8bec26 |
children |
rev | line source |
---|---|
andrew@2 | 1 #pragma once |
andrew@2 | 2 |
andrew@2 | 3 #include "ofMain.h" |
andrew@2 | 4 |
Venetian@7 | 5 #include "PreciseOnsetDetector.h" |
andrew@2 | 6 |
Venetian@7 | 7 |
Venetian@7 | 8 //#include "ofxWindowRegion.h" |
Venetian@7 | 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 |
Venetian@7 | 33 // PreciseOnsetDetectorOffline preciseOnsetDetect; |
Venetian@7 | 34 // PreciseOnsetVisualiser pov; |
andrew@2 | 35 |
Venetian@7 | 36 PreciseOnsetDetector onsetDetector; |
andrew@2 | 37 }; |