- Timestamp:
- Nov 30, 2016, 6:41:43 PM (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, sampler, yinfft+
- Children:
- 95bcdec
- Parents:
- 8a49bb9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/demos/demo_timestretch_online.py
r8a49bb9 ra0a073f 12 12 import numpy as np 13 13 14 win_s = 102414 win_s = 512 15 15 hop_s = win_s // 8 # 87.5 % overlap 16 16 … … 93 93 old_grain.phas = np.copy(cur_grain.phas) 94 94 95 # until end of file 96 if read < hop_s: break 97 # increment block counter 95 98 block_read += 1 96 if read < hop_s: break97 99 98 100 for t in range(warmup + 2): # purge the last frames from the phase vocoder
Note: See TracChangeset
for help on using the changeset viewer.