diff src/AudioEventMatcher.h @ 6:746a5af43c02

windowed bayesian distributions - drawn within constrained portion of the screen
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Thu, 02 Feb 2012 17:52:08 +0000
parents 45b5cf9be377
children 33dedfe32893
line wrap: on
line diff
--- a/src/AudioEventMatcher.h	Thu Feb 02 12:45:36 2012 +0000
+++ b/src/AudioEventMatcher.h	Thu Feb 02 17:52:08 2012 +0000
@@ -28,9 +28,11 @@
 	void setArraySizes();
 	
 	void draw();
+	void drawBayesianDistributions();;
 	
-	void newPitchEvent(const double& pitchIn, const double& timeIn);
+	void newPitchEvent(const int& channel, const double& pitchIn, const double& timeIn);
 	void newKickEvent(const double& timeIn);
+	void newKickEvent(const int& channel, const double& timeIn);
 	void newSnareEvent(const double& timeIn);
 	
 	void matchNewPitchEvent(const int& channel, const double& pitchIn, const double& timeIn);
@@ -50,12 +52,9 @@
 	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;
-	
-	//tmp debug fn
-	void printPostOffset();
+
 };
 #endif