Mercurial > hg > midi-score-follower
view hackday/main.cpp @ 34:9d2a651a87b2
autoomatically set prior that matches the durations of the songs. Using 120 bpm as default for the recorded part.
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Wed, 14 Dec 2011 11:35:31 +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; }