diff dsp/segmentation/ClusterMeltSegmenter.h @ 289:befe5aa6b450

* Refactor FFT a little bit so as to separate construction and processing rather than have a single static method -- will make it easier to use a different implementation * pull in KissFFT implementation (not hooked up yet)
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 13 May 2009 09:19:12 +0000
parents c3600d3cfe5c
children e5907ae6de17
line wrap: on
line diff
--- a/dsp/segmentation/ClusterMeltSegmenter.h	Tue May 12 21:04:25 2009 +0000
+++ b/dsp/segmentation/ClusterMeltSegmenter.h	Wed May 13 09:19:12 2009 +0000
@@ -20,6 +20,7 @@
 class Decimator;
 class ConstantQ;
 class MFCC;
+class FFTReal;
 
 class ClusterMeltSegmenterParams
 // defaults are sensible for 11025Hz with 0.2 second hopsize
@@ -71,6 +72,7 @@
     void extractFeaturesMFCC(const double *, int);
 
     Window<double> *window;
+    FFTReal *fft;
     ConstantQ* constq; 
     MFCC* mfcc;
     model_t* model;				// the HMM