diff --git a/example/custom-filter.js b/example/custom-filter.js index cd25807..579bf06 100644 --- a/example/custom-filter.js +++ b/example/custom-filter.js @@ -8,7 +8,7 @@ class CustomGainFilter extends AbstractAudioFilter { getNode(context) { const gainNodeFilter = context.createGain(); - gainNodeFilter.gain = this.gainIncrease; + gainNodeFilter.gain.value = this.gainIncrease; return { input: gainNodeFilter,