Changeset e391790 for src/pitch/pitchyin.c
- Timestamp:
- Aug 1, 2015, 10:28:38 AM (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:
- 482fab8
- Parents:
- 10482d2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitch/pitchyin.c
r10482d2 re391790 146 146 } 147 147 tmp2 += yin->data[tau]; 148 yin->data[tau] *= tau / tmp2; 148 if (tmp2 != 0) { 149 yin->data[tau] *= tau / tmp2; 150 } else { 151 yin->data[tau] = 1.; 152 } 149 153 period = tau - 3; 150 154 if (tau > 4 && (yin->data[period] < tol) &&
Note: See TracChangeset
for help on using the changeset viewer.