Changeset b2de03f for tests/src/temporal/test-c_weighting.c
- Timestamp:
- May 12, 2016, 8:05:34 PM (9 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:
- 163d159
- Parents:
- 1670f39
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/temporal/test-c_weighting.c
r1670f39 rb2de03f 20 20 // samplerate unknown 21 21 f = new_aubio_filter_c_weighting (4200); 22 del_aubio_filter (f); 22 if (!f) { 23 //PRINT_WRN ("failed creating C-weighting filter with samplerate=4200Hz"); 24 } 23 25 24 26 // order to small 25 27 f = new_aubio_filter (2); 26 aubio_filter_set_c_weighting (f, samplerate); 28 if (aubio_filter_set_c_weighting (f, samplerate) != 0) { 29 //PRINT_WRN ("failed setting filter to C-weighting"); 30 } 27 31 del_aubio_filter (f); 28 32 29 33 // order to big 30 34 f = new_aubio_filter (12); 31 aubio_filter_set_c_weighting (f, samplerate); 35 if (aubio_filter_set_c_weighting (f, samplerate) != 0) { 36 //PRINT_WRN ("failed setting filter to C-weighting"); 37 } 32 38 del_aubio_filter (f); 33 39
Note: See TracChangeset
for help on using the changeset viewer.