view ofxPreciseOnsetDetectorOffline/testApp.h @ 7:b1c13e8bec26

adding new files
author Venetian
date Thu, 14 Aug 2014 16:27:52 +0100
parents 50f62c48b421
children
line wrap: on
line source
#pragma once

#include "ofMain.h"

#include "PreciseOnsetDetector.h"


//#include "ofxWindowRegion.h"
//#include "ofxPlotFunction.h"

class testApp : public ofBaseApp{
	public:
		void setup();
		void update();
		void draw();
		
	
		void keyPressed(int key);
		void keyReleased(int key);
		void mouseMoved(int x, int y);
		void mouseDragged(int x, int y, int button);
		void mousePressed(int x, int y, int button);
		void mouseReleased(int x, int y, int button);
		void windowResized(int w, int h);
		void dragEvent(ofDragInfo dragInfo);
		void gotMessage(ofMessage msg);
	
	void loadNewFile(std::string filename);
	bool getFilenameFromDialogBox(string* fileNameToSave);
	
	
	//vars
//	PreciseOnsetDetectorOffline preciseOnsetDetect;	
//	PreciseOnsetVisualiser pov;
	
	PreciseOnsetDetector onsetDetector;
};