diff jnmr/testApp.cpp @ 46:43edc8abe2a7

Fixed bug in complex update due to mismatch between ms and vector units
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Sun, 05 Feb 2012 19:40:21 +0000
parents 90ad1817ca56
children 803edc47e825
line wrap: on
line diff
--- a/jnmr/testApp.cpp	Sun Feb 05 10:00:34 2012 +0000
+++ b/jnmr/testApp.cpp	Sun Feb 05 19:40:21 2012 +0000
@@ -420,7 +420,7 @@
 	
 	if (key == 'c'){
 		double timenow = ofGetElapsedTimeMillis();
-		midiEvents.exampleCrossUpdate();
+		//midiEvents.exampleCrossUpdate();
 		timenow *= -1;
 		timenow += ofGetElapsedTimeMillis();
 		printf("CROSS UPDATE TOOK %f", timenow);
@@ -473,7 +473,8 @@
 	}
 	
 	if (key == 'p'){
-		midiEvents.printNotes();
+		//midiEvents.printNotes();
+		midiEvents.bayesStruct.posterior.printArray();
 	}
 
 	if (key == 'l')