This commit is contained in:
2023-10-24 18:23:18 +02:00
parent eb7382126a
commit 9f80b7ef24

View File

@ -173,6 +173,8 @@ export class SoundEvent extends AudibleEvent {
this.lpenv(depth); this.lpenv(depth);
this.lpattack(a); this.lpattack(a);
this.lpdecay(d); this.lpdecay(d);
this.lpsustain(0);
this.lprelease(0);
return this; return this;
}; };
@ -221,6 +223,8 @@ export class SoundEvent extends AudibleEvent {
this.hpenv(depth); this.hpenv(depth);
this.hpattack(a); this.hpattack(a);
this.hpdecay(d); this.hpdecay(d);
this.hpsustain(0);
this.hprelease(0);
return this; return this;
}; };
@ -268,6 +272,8 @@ export class SoundEvent extends AudibleEvent {
this.bpenv(depth); this.bpenv(depth);
this.bpattack(a); this.bpattack(a);
this.bpdecay(d); this.bpdecay(d);
this.bpsustain(0);
this.bprelease(0);
return this; return this;
}; };