Changeset aea235c for tests/src/temporal
- Timestamp:
- Dec 4, 2009, 1:47:17 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:
- f7b05d4
- Parents:
- 4621cd6
- Location:
- tests/src/temporal
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/temporal/test-aweighting.c
r4621cd6 raea235c 8 8 uint_t nrates = 6; 9 9 uint_t samplerate, i = 0; 10 uint_t channels = 2;11 10 12 11 for ( samplerate = rates[i]; i < nrates ; i++ ) { 13 f = new_aubio_filter_a_weighting ( channels,samplerate);12 f = new_aubio_filter_a_weighting (samplerate); 14 13 del_aubio_filter (f); 15 14 16 f = new_aubio_filter (7 , channels*2);15 f = new_aubio_filter (7); 17 16 aubio_filter_set_a_weighting (f, samplerate); 18 17 del_aubio_filter (f); … … 20 19 21 20 // samplerate unknown 22 f = new_aubio_filter_a_weighting ( channels,4200);21 f = new_aubio_filter_a_weighting (4200); 23 22 del_aubio_filter (f); 24 23 25 24 // order to small 26 f = new_aubio_filter (2 , channels*2);25 f = new_aubio_filter (2); 27 26 aubio_filter_set_a_weighting (f, samplerate); 28 27 del_aubio_filter (f); 29 28 30 29 // order to big 31 f = new_aubio_filter (12 , channels*2);30 f = new_aubio_filter (12); 32 31 aubio_filter_set_a_weighting (f, samplerate); 33 32 del_aubio_filter (f); -
tests/src/temporal/test-cweighting.c
r4621cd6 raea235c 8 8 uint_t nrates = 6; 9 9 uint_t samplerate, i = 0; 10 uint_t channels = 2;11 10 12 11 for ( samplerate = rates[i]; i < nrates ; i++ ) { 13 f = new_aubio_filter_c_weighting ( channels,samplerate);12 f = new_aubio_filter_c_weighting (samplerate); 14 13 del_aubio_filter (f); 15 14 16 f = new_aubio_filter (5 , channels*2);15 f = new_aubio_filter (5); 17 16 aubio_filter_set_c_weighting (f, samplerate); 18 17 del_aubio_filter (f); … … 20 19 21 20 // samplerate unknown 22 f = new_aubio_filter_c_weighting ( channels,4200);21 f = new_aubio_filter_c_weighting (4200); 23 22 del_aubio_filter (f); 24 23 25 24 // order to small 26 f = new_aubio_filter (2 , channels*2);25 f = new_aubio_filter (2); 27 26 aubio_filter_set_c_weighting (f, samplerate); 28 27 del_aubio_filter (f); 29 28 30 29 // order to big 31 f = new_aubio_filter (12 , channels*2);30 f = new_aubio_filter (12); 32 31 aubio_filter_set_c_weighting (f, samplerate); 33 32 del_aubio_filter (f);
Note: See TracChangeset
for help on using the changeset viewer.