Mercurial > hg > qm-dsp
diff dsp/chromagram/Chromagram.cpp @ 347:e3dedded9c4d
Merge from pvoc branch
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 04 Oct 2013 16:43:44 +0100 |
parents | 9c8ee77db9de |
children | e4a57215ddee |
line wrap: on
line diff
--- a/dsp/chromagram/Chromagram.cpp Tue Oct 01 15:15:59 2013 +0100 +++ b/dsp/chromagram/Chromagram.cpp Fri Oct 04 16:43:44 2013 +0100 @@ -139,8 +139,7 @@ } m_window->cut(m_windowbuf); - // FFT of current frame - m_FFT->process(false, m_windowbuf, m_FFTRe, m_FFTIm); + m_FFT->forward(m_windowbuf, m_FFTRe, m_FFTIm); return process(m_FFTRe, m_FFTIm); } @@ -158,7 +157,6 @@ double cmax = 0.0; double cval = 0; - // Calculate ConstantQ frame m_ConstantQ->process( real, imag, m_CQRe, m_CQIm );