synthesis cosmetic change

This commit is contained in:
zymon 2023-11-13 15:28:52 +01:00
parent 702628ed9c
commit 26c9c70f3c

View file

@ -249,8 +249,8 @@ function synthesis(
xs = irfft(X, N, 1) # Convert segments to time-domain xs = irfft(X, N, 1) # Convert segments to time-domain
@turbo for s 1:S @turbo for s 0:(S-1)
ss = (s-1)*H # Segment start ss = s*H # Segment shift
for n = 1:W for n = 1:W
xn[ss+n] += xs[n, s] * w[n] xn[ss+n] += xs[n, s] * w[n]
xd[ss+n] += [n] xd[ss+n] += [n]