Mercurial > hg > qm-dsp
diff dsp/mfcc/MFCC.h @ 32:8bb764969d50
* Add windowing to Chromagram input
* Add window option to MFCC config
author | cannam |
---|---|
date | Fri, 18 Jan 2008 17:57:40 +0000 |
parents | a251fb0de594 |
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