- Timestamp:
- Aug 6, 2018, 1:41:52 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:
- 802e8ab
- Parents:
- e8fcc9a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitch/pitchyinfft.c
re8fcc9a raf4f9e6 45 45 160., 200., 250., 315., 400., 500., 630., 800., 1000., 1250., 46 46 1600., 2000., 2500., 3150., 4000., 5000., 6300., 8000., 9000., 10000., 47 12500., 15000., 20000., 25100 47 12500., 15000., 20000., 25100., -1. 48 48 }; 49 49 … … 73 73 for (i = 0; i < p->weight->length; i++) { 74 74 freq = (smpl_t) i / (smpl_t) bufsize *(smpl_t) samplerate; 75 while (freq > freqs[j]) { 75 while (freq > freqs[j] && freqs[j] > 0) { 76 AUBIO_DBG("freq %3.5f > %3.5f \tsamplerate %d (Hz) \t(weight length %d, bufsize %d) %d %d\n", freq, freqs[j], samplerate, p->weight->length, bufsize, i, j); 76 77 j += 1; 77 78 }
Note: See TracChangeset
for help on using the changeset viewer.