Mercurial > hg > multitrack-audio-matcher
comparison src/AudioEventMatcher.h @ 2:179c09199b3c
bayesian vector now adding gaussians for kick onsets
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Tue, 31 Jan 2012 21:34:19 +0000 |
parents | 852173ca8365 |
children | 5e188c0035b6 |
comparison
equal
deleted
inserted
replaced
1:852173ca8365 | 2:179c09199b3c |
---|---|
28 void setArraySizes(); | 28 void setArraySizes(); |
29 | 29 |
30 void draw(); | 30 void draw(); |
31 | 31 |
32 void newPitchEvent(const double& pitchIn, const double& timeIn); | 32 void newPitchEvent(const double& pitchIn, const double& timeIn); |
33 void newKickEvent(const double& timeIn); | |
34 void newSnareEvent(const double& timeIn); | |
35 | |
36 void matchNewPitchEvent(const int& channel, const double& pitchIn, const double& timeIn); | |
37 void matchNewOnsetEvent(const int& channel, const double& timeIn); | |
33 | 38 |
34 BayesianArrayStructure bayesianStruct;//hold the probability distriubtions | 39 BayesianArrayStructure bayesianStruct;//hold the probability distriubtions |
35 | 40 |
36 LiveAudioInput liveInput;//hold the new events that come in | 41 LiveAudioInput liveInput;//hold the new events that come in |
37 RecordedMultitrackAudio recordedTracks; | 42 RecordedMultitrackAudio recordedTracks; |