Changeset 1d51820
- Timestamp:
- Nov 17, 2018, 11:40:32 AM (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:
- 0e30a12
- Parents:
- 04cd251
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/py-filterbank.c
r04cd251 r1d51820 219 219 } 220 220 221 err = aubio_filterbank_set_mel_coeffs_htk (self->o, 222 freq_min, freq_max , samplerate);221 err = aubio_filterbank_set_mel_coeffs_htk (self->o, samplerate, 222 freq_min, freq_max); 223 223 if (err > 0) { 224 224 if (PyErr_Occurred() == NULL) { -
src/spectral/filterbank_mel.c
r04cd251 r1d51820 286 286 for (m = 0; m < n_bands + 2; m++) 287 287 { 288 freqs->data[m] = MIN(aubio_meltohz_htk(st ep * m), samplerate/2.);288 freqs->data[m] = MIN(aubio_meltohz_htk(start + step * m), samplerate/2.); 289 289 } 290 290
Note: See TracChangeset
for help on using the changeset viewer.