diff src/testApp.cpp @ 15:9e972948d654

looking at offline version - need to do updateBestEstimate routine which presently only works for realtime
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 15 Nov 2011 13:10:12 +0000
parents 3f103cf78148
children 9860abc92a30
line wrap: on
line diff
--- a/src/testApp.cpp	Thu Nov 10 17:29:45 2011 +0000
+++ b/src/testApp.cpp	Tue Nov 15 13:10:12 2011 +0000
@@ -65,6 +65,20 @@
 		{
 			stopPlaying();
 		}
+		
+		
+		
+		if ( m.getAddress() == "/realtime" )
+		{
+			midiEvents.runningInRealTime = true;
+		}
+		
+		
+		if ( m.getAddress() == "/offline" )
+		{
+			midiEvents.runningInRealTime = false;
+		}
+		
 	}//end while osc
 	
 }