synthesis cosmetic change
This commit is contained in:
parent
702628ed9c
commit
26c9c70f3c
1 changed files with 2 additions and 2 deletions
|
@ -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] += w²[n]
|
xd[ss+n] += w²[n]
|
||||||
|
|
Loading…
Reference in a new issue