Mercurial > hg > midi-score-follower
comparison 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 |
comparison
equal
deleted
inserted
replaced
0:b299a65a3ad0 | 1:1a32ce016bb9 |
---|---|
34 | 34 |
35 void doProduct(DynamicVector& arrayOne, DynamicVector& arrayTwo); | 35 void doProduct(DynamicVector& arrayOne, DynamicVector& arrayTwo); |
36 | 36 |
37 double getIndexInRealTerms(const int& index); | 37 double getIndexInRealTerms(const int& index); |
38 double getRealTermsAsIndex(double value); | 38 double getRealTermsAsIndex(double value); |
39 double getValueAtMillis(const double& millis); | |
39 | 40 |
40 void printArray(); | 41 void printArray(); |
41 void zero(); | 42 void zero(); |
42 | 43 |
43 void copyFromDynamicVector(const DynamicVector& dynamicVec); | 44 void copyFromDynamicVector(const DynamicVector& dynamicVec); |