Changeset 41b985f for python/demos/demo_timestretch_online.py
- Timestamp:
- Mar 12, 2017, 11:26:24 AM (7 years ago)
- Branches:
- sampler
- Children:
- bde49c4a
- Parents:
- 71f2e5f (diff), 67b6618 (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
-
python/demos/demo_timestretch_online.py
r71f2e5f r41b985f 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.