andrew@2: #pragma once andrew@2: andrew@2: #include "ofMain.h" andrew@2: Venetian@7: #include "PreciseOnsetDetector.h" andrew@2: Venetian@7: Venetian@7: //#include "ofxWindowRegion.h" Venetian@7: //#include "ofxPlotFunction.h" andrew@2: andrew@2: class testApp : public ofBaseApp{ andrew@2: public: andrew@2: void setup(); andrew@2: void update(); andrew@2: void draw(); andrew@2: andrew@3: andrew@2: void keyPressed(int key); andrew@2: void keyReleased(int key); andrew@2: void mouseMoved(int x, int y); andrew@2: void mouseDragged(int x, int y, int button); andrew@2: void mousePressed(int x, int y, int button); andrew@2: void mouseReleased(int x, int y, int button); andrew@2: void windowResized(int w, int h); andrew@2: void dragEvent(ofDragInfo dragInfo); andrew@2: void gotMessage(ofMessage msg); andrew@2: andrew@2: void loadNewFile(std::string filename); andrew@2: bool getFilenameFromDialogBox(string* fileNameToSave); andrew@2: andrew@2: andrew@2: //vars Venetian@7: // PreciseOnsetDetectorOffline preciseOnsetDetect; Venetian@7: // PreciseOnsetVisualiser pov; andrew@2: Venetian@7: PreciseOnsetDetector onsetDetector; andrew@2: };