Changeset 633400d for tests/src/spectral/test-filterbank.c
- Timestamp:
- Dec 5, 2018, 10:34:39 PM (6 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- 283a619a
- Parents:
- 5b46bc3 (diff), f19db54 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/spectral/test-filterbank.c
r5b46bc3 r633400d 9 9 fvec_t *out_filters = new_fvec (n_filters); // per-band outputs 10 10 11 if (new_aubio_filterbank(0, win_s)) return 1; 12 if (new_aubio_filterbank(n_filters, 0)) return 1; 13 11 14 // create filterbank object 12 15 aubio_filterbank_t *o = new_aubio_filterbank (n_filters, win_s); 16 17 smpl_t power = aubio_filterbank_get_power(o); 18 smpl_t norm = aubio_filterbank_get_norm(o); 19 if (aubio_filterbank_set_power(o, power)) { 20 return 1; 21 } 22 if (aubio_filterbank_set_norm(o, norm)) { 23 return 1; 24 } 13 25 14 26 // apply filterbank ten times
Note: See TracChangeset
for help on using the changeset viewer.