diff --git a/src/playback.ts b/src/playback.ts index 8440fa5..ed4cb56 100644 --- a/src/playback.ts +++ b/src/playback.ts @@ -397,7 +397,7 @@ export class Playback extends BasePlayback implements BaseSound { newFilter.frequency.value = filter.frequency.value; newFilter.Q.value = filter.Q.value; newFilter.gain.value = filter.gain.value; - this._filters.push(newFilter); + this._filters.push(newFilter as unknown as BiquadFilterNode); this.refreshFilters(); }