Changeset 9ef3c6e
- Timestamp:
- Nov 9, 2018, 7:14:26 PM (6 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
- Children:
- 01d4d19, 22ec93a, 893e699
- Parents:
- 693de50
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/filterbank_mel.c
r693de50 r9ef3c6e 61 61 } else if (freqs->data[fn] > samplerate / 2) { 62 62 AUBIO_WRN("filterbank_mel: freqs should contain only " 63 "values >samplerate / 2.\n");63 "values < samplerate / 2.\n"); 64 64 } else if (fn > 0 && freqs->data[fn] < freqs->data[fn-1]) { 65 65 AUBIO_ERR("filterbank_mel: freqs should be a list of frequencies " 66 66 "sorted from low to high, but freq[%d] < freq[%d-1]\n", fn, fn); 67 67 return AUBIO_FAIL; 68 } else if (fn > 0 && freqs->data[fn] == freqs->data[fn-1]) { 69 AUBIO_WRN("filterbank_mel: set_triangle_bands received a list " 70 "with twice the frequency %f\n", freqs->data[fn]); 68 71 } 69 72 }
Note: See TracChangeset
for help on using the changeset viewer.