Changeset b257b60 for src/pitch/pitchyinfft.c
- Timestamp:
- Aug 12, 2015, 7:21:38 PM (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:
- 60fc05b
- Parents:
- 3a1a5d6 (diff), 7b2d740 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitch/pitchyinfft.c
r3a1a5d6 rb257b60 136 136 // and the cumulative mean normalized difference function 137 137 tmp += yin->data[tau]; 138 yin->data[tau] *= tau / tmp; 138 if (tmp != 0) { 139 yin->data[tau] *= tau / tmp; 140 } else { 141 yin->data[tau] = 1.; 142 } 139 143 } 140 144 // find best candidates
Note: See TracChangeset
for help on using the changeset viewer.