Mercurial > hg > multitrack-audio-matcher
diff src/AudioEventMatcher.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 | 179c09199b3c |
line wrap: on
line diff
--- a/src/AudioEventMatcher.h Tue Jan 31 13:54:17 2012 +0000 +++ b/src/AudioEventMatcher.h Tue Jan 31 17:35:30 2012 +0000 @@ -18,6 +18,7 @@ #include "LiveAudioInput.h" #include "ofxWindowRegion.h" #include "BayesianArrayStructure.h" +#include "RecordedMultitrackAudio.h" class AudioEventMatcher{ @@ -28,9 +29,14 @@ void draw(); + void newPitchEvent(const double& pitchIn, const double& timeIn); + BayesianArrayStructure bayesianStruct;//hold the probability distriubtions LiveAudioInput liveInput;//hold the new events that come in + RecordedMultitrackAudio recordedTracks; + + void windowResized(const int& w, const int& h); ofxWindowRegion bayesTempoWindow; ofxWindowRegion bayesPositionWindow;