- Timestamp:
- Sep 29, 2009, 7:58:03 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:
- a253fd4
- Parents:
- a4364b8
- Location:
- tests/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/temporal/test-aweighting.c
ra4364b8 rc159aeb 11 11 12 12 for ( samplerate = rates[i]; i < nrates ; i++ ) { 13 f = new_aubio_filter_a dsgn(samplerate, channels);13 f = new_aubio_filter_a_weighting (samplerate, channels); 14 14 del_aubio_filter (f); 15 15 16 16 f = new_aubio_filter (samplerate, 7, channels*2); 17 aubio_filter_set_a dsgn(f);17 aubio_filter_set_a_weighting (f); 18 18 del_aubio_filter (f); 19 19 } 20 20 21 21 // samplerate unknown 22 f = new_aubio_filter_a dsgn(12089, channels);22 f = new_aubio_filter_a_weighting (12089, channels); 23 23 del_aubio_filter (f); 24 24 25 25 // order to small 26 26 f = new_aubio_filter (samplerate, 2, channels*2); 27 aubio_filter_set_a dsgn(f);27 aubio_filter_set_a_weighting (f); 28 28 del_aubio_filter (f); 29 29 30 30 // order to big 31 31 f = new_aubio_filter (samplerate, 12, channels*2); 32 aubio_filter_set_a dsgn(f);32 aubio_filter_set_a_weighting (f); 33 33 del_aubio_filter (f); 34 34 -
tests/src/temporal/test-cweighting.c
ra4364b8 rc159aeb 11 11 12 12 for ( samplerate = rates[i]; i < nrates ; i++ ) { 13 f = new_aubio_filter_c dsgn(samplerate, channels);13 f = new_aubio_filter_c_weighting (samplerate, channels); 14 14 del_aubio_filter (f); 15 15 16 16 f = new_aubio_filter (samplerate, 5, channels*2); 17 aubio_filter_set_c dsgn(f);17 aubio_filter_set_c_weighting (f); 18 18 del_aubio_filter (f); 19 19 } 20 20 21 21 // samplerate unknown 22 f = new_aubio_filter_c dsgn(12089, channels);22 f = new_aubio_filter_c_weighting (12089, channels); 23 23 del_aubio_filter (f); 24 24 25 25 // order to small 26 26 f = new_aubio_filter (samplerate, 2, channels*2); 27 aubio_filter_set_c dsgn(f);27 aubio_filter_set_c_weighting (f); 28 28 del_aubio_filter (f); 29 29 30 30 // order to big 31 31 f = new_aubio_filter (samplerate, 12, channels*2); 32 aubio_filter_set_c dsgn(f);32 aubio_filter_set_c_weighting (f); 33 33 del_aubio_filter (f); 34 34 -
tests/src/test-filter.c
ra4364b8 rc159aeb 9 9 10 10 /* allocate fft and other memory space */ 11 aubio_filter_t * o = new_aubio_filter_c dsgn(44100, channels);11 aubio_filter_t * o = new_aubio_filter_c_weighting (44100, channels); 12 12 13 13 aubio_filter_do(o,in);
Note: See TracChangeset
for help on using the changeset viewer.