diff dsp/mfcc/MFCC.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 cbe668c7d724
line wrap: on
line diff
--- a/dsp/mfcc/MFCC.cpp	Tue Oct 01 15:38:56 2013 +0100
+++ b/dsp/mfcc/MFCC.cpp	Wed Oct 02 15:04:38 2013 +0100
@@ -210,7 +210,7 @@
     window->cut(inputData);
   
     /* Calculate the fft on the input frame */
-    fft->process(0, inputData, realOut, imagOut);
+    fft->forward(inputData, realOut, imagOut);
 
     free(inputData);