diff jnmr/testApp.cpp @ 44:6c8a048720c3

improving functions in dynamic vector - to copy with changing offset in copyvector and the drawvector routine
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Wed, 01 Feb 2012 16:07:09 +0000
parents 60c1f0fbc8f4
children 90ad1817ca56
line wrap: on
line diff
--- a/jnmr/testApp.cpp	Tue Jan 24 17:11:11 2012 +0000
+++ b/jnmr/testApp.cpp	Wed Feb 01 16:07:09 2012 +0000
@@ -117,7 +117,7 @@
 				}
 			//	printf("MIDI NOTE %i \n", newMidiOnPitch);
 				midiEvents.newNoteOnEvent(newMidiOnPitch, velocity, time);
-				noteInStream.newNoteCounted(newMidiOnPitch);
+				noteInStream.newNoteCounted(newMidiOnPitch);//counts notes for an overall score
 			}
 
 		}
@@ -713,7 +713,7 @@
 		
 	std::string filename = midiFileName;//argv[1];
 	printf("Loading'%s'\n", midiFileName.c_str());
-//	fileLoader.chopBeginning = true;
+
 	fileLoader.loadFile(filename, midiEvents);
 	
 }//new end of load function