Mercurial > hg > multitrack-audio-matcher
diff bayesianArraySrc/DynamicVector.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 | 746a5af43c02 |
children |
line wrap: on
line diff
--- a/bayesianArraySrc/DynamicVector.h Sun Feb 05 09:58:56 2012 +0000 +++ b/bayesianArraySrc/DynamicVector.h Sun Feb 05 22:08:50 2012 +0000 @@ -49,7 +49,7 @@ void addGaussianShapeFromRealTime(const double& actualTime, const double& StdDev, double factor); - + void addTriangularShape(double mean, double width, double factor); void addToIndex(const int& index, const double& constant); @@ -58,6 +58,7 @@ double getIndexInRealTerms(const int& index); double getRealTermsAsIndex(double value); double getValueAtMillis(const double& millis); + double millisToVectorUnits(const double& millis); void printArray(); void zero();