Mercurial > hg > midi-score-follower
diff src/DynamicVector.h @ 1:1a32ce016bb9
Changed bestEstimate timing to work via time sent from Max not the elapsed time. This had caused some problems, but this version now working surprisingly well on MIDI files with variable timing.
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Thu, 18 Aug 2011 23:27:42 +0100 |
parents | b299a65a3ad0 |
children | 5581023e0de4 |
line wrap: on
line diff
--- a/src/DynamicVector.h Tue Aug 16 11:29:59 2011 +0100 +++ b/src/DynamicVector.h Thu Aug 18 23:27:42 2011 +0100 @@ -36,6 +36,7 @@ double getIndexInRealTerms(const int& index); double getRealTermsAsIndex(double value); + double getValueAtMillis(const double& millis); void printArray(); void zero();