diff src/LiveAudioInput.h @ 1:852173ca8365

Added class to hold recorded mulitracks
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 31 Jan 2012 17:35:30 +0000
parents c4f9e49226eb
children
line wrap: on
line diff
--- a/src/LiveAudioInput.h	Tue Jan 31 13:54:17 2012 +0000
+++ b/src/LiveAudioInput.h	Tue Jan 31 17:35:30 2012 +0000
@@ -24,14 +24,20 @@
 
 class LiveAudioInput{
 	
+	int numberOfEvents;
 public:
 	
+	
 	LiveAudioInput();
 	
 	typedef std::vector<AudioEvent> EventVector; 
 	
+	EventVector liveEvents;
 	
-
+	void addPitchEvent(const double& pitch, const double& time);
+	
+	double framesToMillis(const double& frameCount);
+	double millisToFrames(const double& millis);
 	
 };
 #endif
\ No newline at end of file