Mercurial > hg > midi-score-follower
view src/main.cpp @ 45:90ad1817ca56
Working version of the score follower using annotations read in from RWC set. Links player to midi file from rwc set
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Sun, 05 Feb 2012 10:00:34 +0000 |
parents | 5a11b19906c7 |
children |
line wrap: on
line source
#include "ofMain.h" #include "testApp.h" #include "ofAppGlutWindow.h" //======================================================================== int main(int argc, char * const argv[]){ if (argc > 0){ cout << "arg 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()); }