Mercurial > hg > precise-onset-detection
diff src/PeakProcessor.h @ 8:184a7c232049 tip
changed files since updating computer
author | Venetian |
---|---|
date | Thu, 14 Aug 2014 17:53:57 +0100 |
parents | 7ec1ed0b2eb0 |
children |
line wrap: on
line diff
--- a/src/PeakProcessor.h Thu Aug 14 16:27:52 2014 +0100 +++ b/src/PeakProcessor.h Thu Aug 14 17:53:57 2014 +0100 @@ -18,6 +18,10 @@ PeakProcessor(); ~PeakProcessor(); + + void initialise(); + void reset(); + //peak processing requires static const int vectorSize = 512/6; vector<double> recentDFsamples; @@ -34,7 +38,7 @@ float bestSlopeMedian, thresholdRelativeToMedian; bool newOnsetFound, slopeFallenBelowMedian; - + float minimumThreshold; }; #endif \ No newline at end of file