Changeset ccd0327 for python/demos/demo_yin_compare.py
- Timestamp:
- Jul 24, 2017, 3:16:22 PM (7 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:
- 06c329e, 50853b0
- Parents:
- 1070378
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/demos/demo_yin_compare.py
r1070378 rccd0327 26 26 yin = np.zeros(W) 27 27 for j in range(W): 28 for tau in range(1, W):29 yin[tau] += (samples[j] - samples[j+tau])**228 for tau in range(1, W): 29 yin[tau] += (samples[j] - samples[j+tau])**2 30 30 return yin 31 31
Note: See TracChangeset
for help on using the changeset viewer.