Mercurial > hg > multitrack-audio-matcher
comparison 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 |
comparison
equal
deleted
inserted
replaced
0:c4f9e49226eb | 1:852173ca8365 |
---|---|
33 } | 33 } |
34 | 34 |
35 void AudioEventMatcher::draw(){ | 35 void AudioEventMatcher::draw(){ |
36 //ofRect(20, 20, 300, 200); | 36 //ofRect(20, 20, 300, 200); |
37 | 37 |
38 recordedTracks.drawTracks(); | |
38 bayesianStruct.relativeSpeedPrior.drawVector(0, 200, bayesTempoWindow); | 39 bayesianStruct.relativeSpeedPrior.drawVector(0, 200, bayesTempoWindow); |
39 | 40 |
40 } | 41 } |
42 | |
43 | |
44 void AudioEventMatcher::newPitchEvent(const double& pitchIn, const double& timeIn){ | |
45 liveInput.addPitchEvent(pitchIn, timeIn); | |
46 //matchNewPitchEvent(); | |
47 } | |
48 | |
49 | |
50 void AudioEventMatcher::windowResized(const int& w, const int& h){ | |
51 recordedTracks.windowResized(w,h); | |
52 } |