Mercurial > hg > vamp-plugin-sdk
diff examples/FixedTempoEstimator.h @ 200:a86e777bf9a6
* tweaks to fixed-tempo estimator
author | cannam |
---|---|
date | Thu, 09 Oct 2008 15:37:34 +0000 |
parents | e3e61b7e9661 |
children | 4275327f9c79 |
line wrap: on
line diff
--- a/examples/FixedTempoEstimator.h Wed Oct 08 19:48:21 2008 +0000 +++ b/examples/FixedTempoEstimator.h Thu Oct 09 15:37:34 2008 +0000 @@ -76,6 +76,9 @@ FeatureSet getRemainingFeatures(); protected: + class D; + D *m_d; + size_t m_stepSize; size_t m_blockSize; @@ -83,12 +86,15 @@ size_t m_dfsize; float *m_df; + float *m_r; + float *m_fr; size_t m_n; Vamp::RealTime m_start; Vamp::RealTime m_lasttime; - FeatureSet calculateFeatures(); + void calculate(); + FeatureSet assembleFeatures(); float lag2tempo(int); };