Mercurial > hg > pyin
diff PYinVamp.cpp @ 60:60eb8771d340 tony
slower, but timestamp-unbiased pyin
author | matthiasm |
---|---|
date | Fri, 07 Mar 2014 10:43:55 +0000 |
parents | b39d6745c596 |
children | 8180299e5087 16129c3b1cf5 |
line wrap: on
line diff
--- a/PYinVamp.cpp Thu Mar 06 16:48:27 2014 +0000 +++ b/PYinVamp.cpp Fri Mar 07 10:43:55 2014 +0000 @@ -354,7 +354,7 @@ PYinVamp::FeatureSet PYinVamp::process(const float *const *inputBuffers, RealTime timestamp) { - timestamp = timestamp + Vamp::RealTime::frame2RealTime(m_blockSize/4, lrintf(m_inputSampleRate)); + timestamp = timestamp + Vamp::RealTime::frame2RealTime(m_blockSize/2, lrintf(m_inputSampleRate)); FeatureSet fs; float rms = 0;