Changeset b2de03f for tests/src/temporal/test-a_weighting.c
- Timestamp:
- May 12, 2016, 8:05:34 PM (8 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-a_weighting.c
r1670f39 rb2de03f 21 21 // samplerate unknown 22 22 f = new_aubio_filter_a_weighting (4200); 23 del_aubio_filter (f); 23 if (!f) { 24 //PRINT_MSG ("failed creating A-weighting filter with samplerate=4200Hz\n"); 25 } 24 26 25 27 // order to small 26 28 f = new_aubio_filter (2); 27 aubio_filter_set_a_weighting (f, samplerate); 29 if (aubio_filter_set_a_weighting (f, samplerate) != 0) { 30 //PRINT_MSG ("failed setting filter to A-weighting\n"); 31 } 28 32 del_aubio_filter (f); 29 33 30 34 // order to big 31 35 f = new_aubio_filter (12); 32 aubio_filter_set_a_weighting (f, samplerate); 36 if (aubio_filter_set_a_weighting (f, samplerate) != 0) { 37 //PRINT_MSG ("failed setting filter to A-weighting\n"); 38 } 33 39 del_aubio_filter (f); 34 40
Note: See TracChangeset
for help on using the changeset viewer.