diff src/testApp.cpp @ 37:9806a4f22fd0

Fixed bugs in the likelohoods that caused some to zero when no events found.
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 24 Apr 2012 14:16:01 +0100
parents eb43b2a007ea
children f5de07b4d733
line wrap: on
line diff
--- a/src/testApp.cpp	Tue Apr 24 01:19:24 2012 +0100
+++ b/src/testApp.cpp	Tue Apr 24 14:16:01 2012 +0100
@@ -83,10 +83,11 @@
 			int testChannel = m.getArgAsInt32(0);
 			double timeIn = m.getArgAsFloat(1);
 			float chromaIn[12];
+			
 			printf("CHROMA received at time %f\n", timeIn);
 			for (int i = 0;i < 12;i++){
 				chromaIn[i] = m.getArgAsFloat(i+2);
-				printf("chroma[%i]: %f\n", i, chromaIn[i]);
+			//	printf("chroma[%i]: %f\n", i, chromaIn[i]);
 			}
 			eventMatcher.newChromaEvent(testChannel, chromaIn, timeIn);
 		}