Mercurial > hg > qm-dsp
diff dsp/tempotracking/DownBeat.cpp @ 114:f6ccde089491 pvoc
Tidy real-to-complex FFT -- forward and inverse have different arguments, so make them separate functions; document
author | Chris Cannam |
---|---|
date | Wed, 02 Oct 2013 15:04:38 +0100 |
parents | e5907ae6de17 |
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