From 280778b2c9a36a742d8cb22569e4e00086a676c6 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Sun, 5 Nov 2023 17:16:07 +0100 Subject: [PATCH] fix pb with hpf --- src/classes/SoundEvent.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/classes/SoundEvent.ts b/src/classes/SoundEvent.ts index 2d34c12..45d5cba 100644 --- a/src/classes/SoundEvent.ts +++ b/src/classes/SoundEvent.ts @@ -147,6 +147,13 @@ export class SoundEvent extends AudibleEvent { } return this; }, + hpf: (value: number, resonance?: number) => { + this.updateValue("hcutoff", value); + if (resonance) { + this.updateValue("hresonance", resonance); + } + return this; + }, hpq: (value: number) => { this.updateValue("hresonance", value); return this;