Mercurial > hg > pyin
diff PYinVamp.h @ 132:926c292fa3ff fixedlag
fixed lag smoothing for pitch track working
author | Matthias Mauch <mail@matthiasmauch.net> |
---|---|
date | Fri, 03 Jul 2015 17:34:38 +0100 |
parents | b877df85ad9e |
children | 83978b93aac1 |
line wrap: on
line diff
--- a/PYinVamp.h Fri Jul 03 14:09:05 2015 +0100 +++ b/PYinVamp.h Fri Jul 03 17:34:38 2015 +0100 @@ -56,8 +56,6 @@ FeatureSet getRemainingFeatures(); - float pitchState2Freq(int state, vector<pair<double, double> > pitchProb); - protected: size_t m_channels; size_t m_stepSize; @@ -83,8 +81,8 @@ MonoPitchHMM m_pitchHmm; - vector<vector<pair<double, double> > > m_pitchProb; - vector<Vamp::RealTime> m_timestamp; + deque<vector<pair<double, double> > > m_pitchProb; + deque<Vamp::RealTime> m_timestamp; vector<float> m_level; };