Changeset aea235c for tests/src/test-filterbank_mel.c
- Timestamp:
- Dec 4, 2009, 1:47:17 AM (14 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:
- f7b05d4
- Parents:
- 4621cd6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/test-filterbank_mel.c
r4621cd6 raea235c 9 9 /* allocate some memory */ 10 10 uint_t win_s = 512; /* fft size */ 11 uint_t channels = 2; /* number of channel */12 11 uint_t n_filters = 40; /* number of filters */ 13 cvec_t *in = new_cvec (win_s , channels); /* input buffer */14 fvec_t *out = new_fvec (win_s , channels); /* input buffer */15 f vec_t *coeffs = NULL;12 cvec_t *in = new_cvec (win_s); /* input buffer */ 13 fvec_t *out = new_fvec (win_s); /* input buffer */ 14 fmat_t *coeffs = NULL; 16 15 smpl_t samplerate = 16000.; 17 16 … … 27 26 } 28 27 29 //f vec_print (coeffs);28 //fmat_print (coeffs); 30 29 31 30 //fprintf(stderr, "%f\n", fvec_sum(coeffs));
Note: See TracChangeset
for help on using the changeset viewer.