- Timestamp:
- Sep 6, 2007, 3:45:23 PM (17 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 71b1b4b, fdf39ba
- Parents:
- 71d3bf0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubiomfcc.c
r71d3bf0 r97886fa 50 50 51 51 //compute mfccs 52 aubio_mffc_do(fftgrain->norm, nframes, filterbank, outbuf);52 aubio_mffc_do(fftgrain->norm, nframes, mf, outbuf); 53 53 54 54 for (coef_cnt=0; coef_cnt<n_filters ; coef_cnt++) … … 93 93 aubio_mel_filter * mf = (aubio_mel_filter *)getbytes(banksize); 94 94 95 mf ilterbank->n_filters = 20;96 mf ilterbank->filters = (smpl_t **)getbytes(mf->n_filters * sizeof(smpl_t *));95 mf->n_filters = 20; 96 mf->filters = (smpl_t **)getbytes(mf->n_filters * sizeof(smpl_t *)); 97 97 for(n = 0; n < mf->n_filters; n++) 98 98 mf->filters[n] = (smpl_t *)getbytes((buffer_size/2+1) * sizeof(smpl_t));
Note: See TracChangeset
for help on using the changeset viewer.