6 /* allocate some memory */
7 uint_t win_s = 512; /* fft size */
8 uint_t n_filters = 40; /* number of filters */
9 uint_t n_coefs = 13; /* number of coefficients */
10 cvec_t *in = new_cvec (win_s); /* input buffer */
11 fvec_t *out = new_fvec (n_coefs); /* input buffer */
12 smpl_t samplerate = 16000.;
14 /* allocate fft and other memory space */
15 aubio_mfcc_t *o = new_aubio_mfcc (win_s, n_filters, n_coefs, samplerate);
19 aubio_mfcc_do (o, in, out);
21 aubio_mfcc_do (o, in, out);