Compare commits

...

2 commits
v1.3.0 ... main

Author SHA1 Message Date
43c1486f7d synthesis bugfix 2023-11-23 11:54:39 +01:00
26c9c70f3c synthesis cosmetic change 2023-11-13 15:28:52 +01:00

View file

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