view hackday/main.cpp @ 36:5a1b0c6fa1fb

Added class to read in the csv Annotation file, then write out the respective difference between the performed piece as followed here, and the annotation of RWC by Ewert and Muller
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Thu, 15 Dec 2011 02:28:49 +0000
parents 49a5b023df1e
children
line wrap: on
line source
#include "ofMain.h"
#include "testApp.h"
#include "ofAppGlutWindow.h"
#include "ofxArgs.h"

//========================================================================
int main(int argc, char *argv[]){
	ofxArgs* args = new ofxArgs(argc, argv);
	
	if (argc > 0){
		cout << "MIDI FOLLOW (" << argc << ")  arg[1] is " << argv[1] << endl;
	}
	
    ofAppGlutWindow window;
	ofSetupOpenGL(&window, 1024,768, OF_WINDOW);			// <-------- setup the GL context

	// this kicks off the running of my app
	// can be OF_WINDOW or OF_FULLSCREEN
	// pass in width and height too:
	
	ofRunApp(new testApp(args));
	delete args;

}