Mercurial > hg > midi-score-follower
view jnmr/main.cpp @ 33:fa527df85c2c
Added the JNMR code which now features chopping after loading all events, easier that way
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Mon, 12 Dec 2011 12:46:17 +0000 |
parents | |
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; }