Mercurial > hg > midi-score-follower
diff hackday/midiEventHolder.h @ 29:69083ce48b83
alternative tempo strategy when matching.
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Mon, 05 Dec 2011 21:47:19 +0000 |
parents | 179365726f07 |
children | be2e779d76b5 |
line wrap: on
line diff
--- a/hackday/midiEventHolder.h Mon Dec 05 07:00:47 2011 +0000 +++ b/hackday/midiEventHolder.h Mon Dec 05 21:47:19 2011 +0000 @@ -77,9 +77,11 @@ bool checkIfMatchedNote(const int& tmpIndex); int findMatch(const int& notePitch, const int& startTime, const int& endTime); - + void updateTempo(); void findLocalTempoPairs(); void findLocalTempoPairsWeightedForConfidence(); + void findOptimumTempoPairsToCurrentBestMatch(); + double getBestSpeedEstimate(const int& currentPlayedIndex, const int& equivalentRecordedIndex); double likelihoodWidth; double likelihoodToNoiseRatio; @@ -150,5 +152,8 @@ int minimumTimeIntervalForTempoUpdate; double ticksFactor; + + + }; #endif \ No newline at end of file