Changeset 1929be4 for python/demos
- Timestamp:
- May 15, 2018, 8:24:55 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:
- 5b1cbbc
- Parents:
- 967e404
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/demos/demo_pitch_sinusoid.py
r967e404 r1929be4 38 38 pointer += partition 39 39 pointer += partition 40 freqs[ pointer : pointer + partition ] = 400 + 5 * np.random.random(sin_length/ 8)40 freqs[ pointer : pointer + partition ] = 400 + 5 * np.random.random(sin_length//8) 41 41 42 42 a = build_sinusoid(sin_length, freqs, samplerate)
Note: See TracChangeset
for help on using the changeset viewer.