scaled Resonance 0->1

This commit is contained in:
JulienH2000
2023-09-06 22:18:30 +02:00
parent 33d2c6dff5
commit 318e8679b6

View File

@ -106,7 +106,7 @@ export class SoundEvent extends AudibleEvent {
public db = this.dbgain;
public cutoff = (value: number) => this.updateValue("cutoff", value);
public lpf = this.cutoff;
public resonance = (value: number) => this.updateValue("resonance", value);
public resonance = (value: number) => this.updateValue("resonance", value*50);
public lpq = this.resonance;
public hcutoff = (value: number) => this.updateValue("hcutoff", value);
public hpf = this.hcutoff;