mirror of
https://github.com/lexi-lambda/shattered-plans.git
synced 2024-11-22 02:52:23 +03:00
Synth: fix bug
This commit is contained in:
parent
2c8eb3d550
commit
904c5b50e6
@ -115,7 +115,7 @@ public final class Synth {
|
||||
|
||||
for (int harm_idk = 0; harm_idk < 5; ++harm_idk) {
|
||||
if (this.harmVol_idk[harm_idk] != 0) {
|
||||
int index = harm_idk + harmDelScaled_idk[harm_idk];
|
||||
int index = i + harmDelScaled_idk[harm_idk];
|
||||
if (index < len) {
|
||||
buf[index] += this.sample(
|
||||
this.envBaseFreq.waveform,
|
||||
|
Loading…
Reference in New Issue
Block a user