Mercurial > hg > midi-score-follower
diff src/DynamicVector.h @ 2:5581023e0de4
Added separate CannamMidiFileLoader class to handle the loading in.
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Fri, 19 Aug 2011 01:26:40 +0100 |
parents | 1a32ce016bb9 |
children | 4a8e6a6cd224 |
line wrap: on
line diff
--- a/src/DynamicVector.h Thu Aug 18 23:27:42 2011 +0100 +++ b/src/DynamicVector.h Fri Aug 19 01:26:40 2011 +0100 @@ -25,11 +25,14 @@ typedef std::vector<double> DoubleVector; DoubleVector array; double getMaximum(); + double getIntegratedEstimate(); + void drawVector(const int& minIndex, const int& maxIndex); void drawConstrainedVector(const int& minIndex, const int& maxIndex, const int& minScreenIndex, const int& maxScreenIndex); void addConstant(double value); void addGaussianShape(double mean, double stddev, double factor); + void addTriangularShape(double mean, double width, double factor); void addToIndex(int index, double constant); void doProduct(DynamicVector& arrayOne, DynamicVector& arrayTwo);