diff src/AudioEventMatcher.h @ 16:680ba08e9925

Auto synchroniser added using the elastique~ object in max
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Mon, 06 Feb 2012 12:18:40 +0000
parents 780def3a1f36
children 4ded82fe318d
line wrap: on
line diff
--- a/src/AudioEventMatcher.h	Sun Feb 05 22:08:50 2012 +0000
+++ b/src/AudioEventMatcher.h	Mon Feb 06 12:18:40 2012 +0000
@@ -20,6 +20,7 @@
 #include "BayesianArrayStructure.h"
 #include "RecordedMultitrackAudio.h"
 #include "DynamicVector.h"
+#include "AccompanimentSynchroniser.h"
 
 class AudioEventMatcher{
 	
@@ -49,6 +50,8 @@
 	LiveAudioInput liveInput;//hold the new events that come in
 	RecordedMultitrackAudio recordedTracks;
 	
+	void loadAudioFiles();
+	
 	void windowResized(const int& w, const int& h);
 	
 	ofxWindowRegion bayesTempoWindow;
@@ -81,6 +84,8 @@
 	bool followingLiveInput;
 	void setScreenDisplayTimes();
 	
+	AccompanimentSynchroniser synchroniser;
+	
 	//params
 	double onsetLikelihoodWidth;
 	double onsetLikelihoodToNoise;