Skip to content

Commit 53e9f85

Browse files
committedNov 15, 2023
Prevent accumulation #38
1 parent 10bbbc0 commit 53e9f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/stftpitchshift/vocoder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def decode(frames, framesize, hopsize, samplerate):
6565
delta = (i + j) * phaseinc
6666

6767
buffer += delta
68-
arg = buffer
68+
arg = buffer.copy()
6969

7070
arg -= timeshift #38
7171

0 commit comments

Comments
 (0)
Please sign in to comment.