From: Amaury Hazan Date: Thu, 6 Sep 2007 13:49:29 +0000 (+0200) Subject: minor changes X-Git-Tag: bzr2git~442^2~14^2~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dcc649ca5af3d0754150cc1f656db11b4636f60c;p=aubio.git minor changes --- diff --git a/examples/aubiomfcc.c b/examples/aubiomfcc.c index cca66054..1f16ca7d 100644 --- a/examples/aubiomfcc.c +++ b/examples/aubiomfcc.c @@ -25,6 +25,11 @@ int aubio_process(float **input, float **output, int nframes); int aubio_process(float **input, float **output, int nframes) { unsigned int i; /*channels*/ unsigned int j; /*frames*/ + + // declare the mel filter bank + // TODO: should be done only once + aubio_mfcc_init(int N, NYQUIST, int style, float freq_min, float freq_max, int freq_bands, float **fft_tables); + for (j=0;j<(unsigned)nframes;j++) { if(usejack) { for (i=0;i