Mercurial > hg > multitrack-audio-matcher
comparison src/AudioEventMatcher.h @ 15:780def3a1f36
Changed to have any definition - re midi matcher bug fix - and bringing in start and stop functions
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Sun, 05 Feb 2012 22:08:50 +0000 |
parents | 0a52258accec |
children | 680ba08e9925 |
comparison
equal
deleted
inserted
replaced
14:0a52258accec | 15:780def3a1f36 |
---|---|
57 | 57 |
58 bool checkMatch(const double& recordedPitch, const double& livePitch); | 58 bool checkMatch(const double& recordedPitch, const double& livePitch); |
59 double getPitchDistance(const double& pitchOne, const double& pitchTwo, const double& scale); | 59 double getPitchDistance(const double& pitchOne, const double& pitchTwo, const double& scale); |
60 | 60 |
61 void startPlaying(); | 61 void startPlaying(); |
62 void stopPlaying(); | |
63 bool startedPlaying; | |
62 | 64 |
63 bool usingRealTime; | 65 bool usingRealTime; |
64 double recentPitch, recentTime; | 66 double recentPitch, recentTime; |
65 | 67 |
66 DynamicVector likelihoodVisualisation[3]; | 68 DynamicVector likelihoodVisualisation[3]; |
79 bool followingLiveInput; | 81 bool followingLiveInput; |
80 void setScreenDisplayTimes(); | 82 void setScreenDisplayTimes(); |
81 | 83 |
82 //params | 84 //params |
83 double onsetLikelihoodWidth; | 85 double onsetLikelihoodWidth; |
86 double onsetLikelihoodToNoise; | |
87 double pitchLikelihoodToNoise;//more noise | |
84 }; | 88 }; |
85 #endif | 89 #endif |