Mercurial > hg > qm-dsp
diff dsp/tempotracking/DownBeat.cpp @ 339:9c8ee77db9de
Tidy real-to-complex FFT -- forward and inverse have different arguments, so make them separate functions; document
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Wed, 02 Oct 2013 15:04:38 +0100 |
parents | d5014ab8b0e5 |
children | a2b3fd07d862 |
line wrap: on
line diff
--- a/dsp/tempotracking/DownBeat.cpp Tue Oct 01 15:38:56 2013 +0100 +++ b/dsp/tempotracking/DownBeat.cpp Wed Oct 02 15:04:38 2013 +0100 @@ -193,7 +193,7 @@ // Now FFT beat frame - m_fft->process(false, m_beatframe, m_fftRealOut, m_fftImagOut); + m_fft->forward(m_beatframe, m_fftRealOut, m_fftImagOut); // Calculate magnitudes