Changeset 30e080c for python/demos
- Timestamp:
- Aug 27, 2016, 10:37:26 AM (8 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:
- 7b3668c
- Parents:
- 31c6010
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/demos/demo_source_simple.py
r31c6010 r30e080c 8 8 9 9 while True: # reading loop 10 samples, read = s()11 total_frames += read12 if read < hop_size: break # end of file reached10 samples, read = s() 11 total_frames += read 12 if read < hop_size: break # end of file reached 13 13 14 14 fmt_string = "read {:d} frames at {:d}Hz from {:s}"
Note: See TracChangeset
for help on using the changeset viewer.