Changeset b2e706f
- Timestamp:
- Oct 22, 2009, 3:23:04 AM (15 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:
- 21f0655
- Parents:
- fc0262f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/test-mfcc.c
rfc0262f rb2e706f 12 12 fvec_t *out = new_fvec (n_coefs, channels); /* input buffer */ 13 13 smpl_t samplerate = 16000.; 14 uint_t i = 0;15 14 16 15 /* allocate fft and other memory space */ 17 16 aubio_mfcc_t *o = new_aubio_mfcc (win_s, n_filters, n_coefs, samplerate); 18 17 19 for (i = 0; i < in->length; i ++) { 20 in->norm[0][i] = 1.; 21 } 18 cvec_set (in, 1.); 22 19 23 20 aubio_mfcc_do (o, in, out);
Note: See TracChangeset
for help on using the changeset viewer.