Mercurial > hg > qm-dsp
diff dsp/mfcc/MFCC.h @ 257:9619d6995b73
* Add windowing to Chromagram input
* Add window option to MFCC config
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 18 Jan 2008 17:57:40 +0000 |
parents | 9edaa3ce62e8 |
children | 6cb2b3cd5356 |
line wrap: on
line diff
--- a/dsp/mfcc/MFCC.h Fri Jan 18 14:40:20 2008 +0000 +++ b/dsp/mfcc/MFCC.h Fri Jan 18 17:57:40 2008 +0000 @@ -19,8 +19,10 @@ int nceps; double logpower; bool want_c0; + WindowType window; MFCCConfig(int _FS) : - FS(_FS), fftsize(2048), nceps(19), logpower(1.0), want_c0(true) { } + FS(_FS), fftsize(2048), nceps(19), + logpower(1.0), want_c0(true), window(HammingWindow) { } }; class MFCC