diff src/AudioEventMatcher.h @ 3:5e188c0035b6

checking the offsets of the arrays
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Wed, 01 Feb 2012 16:05:26 +0000
parents 179c09199b3c
children 45b5cf9be377
line wrap: on
line diff
--- a/src/AudioEventMatcher.h	Tue Jan 31 21:34:19 2012 +0000
+++ b/src/AudioEventMatcher.h	Wed Feb 01 16:05:26 2012 +0000
@@ -44,8 +44,16 @@
 	void windowResized(const int& w, const int& h);
 	
 	ofxWindowRegion bayesTempoWindow;
-	ofxWindowRegion bayesPositionWindow;	
+	ofxWindowRegion bayesPositionWindow;
+	ofxWindowRegion bayesLikelihoodWindow;
 
-
+	bool checkMatch(const double& recordedPitch, const double& livePitch);
+	double getPitchDistance(const double& pitchOne, const double& pitchTwo, const double& scale);
+	
+	void updateBayesianDistributions(const double& newEventTime);
+	void startPlaying();
+	
+	bool usingRealTime;
+	
 };
 #endif