Mercurial > hg > multitrack-audio-matcher
diff src/AudioEventMatcher.cpp @ 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.cpp Tue Jan 31 13:54:17 2012 +0000 +++ b/src/AudioEventMatcher.cpp Tue Jan 31 17:35:30 2012 +0000 @@ -35,6 +35,18 @@ void AudioEventMatcher::draw(){ //ofRect(20, 20, 300, 200); + recordedTracks.drawTracks(); bayesianStruct.relativeSpeedPrior.drawVector(0, 200, bayesTempoWindow); +} + + +void AudioEventMatcher::newPitchEvent(const double& pitchIn, const double& timeIn){ + liveInput.addPitchEvent(pitchIn, timeIn); + //matchNewPitchEvent(); +} + + +void AudioEventMatcher::windowResized(const int& w, const int& h){ + recordedTracks.windowResized(w,h); } \ No newline at end of file