diff --git a/src/effects/VolumeEffect.js b/src/effects/VolumeEffect.js index b37e7e8..6e79e8a 100644 --- a/src/effects/VolumeEffect.js +++ b/src/effects/VolumeEffect.js @@ -43,7 +43,6 @@ class VolumeEffect extends Effect { const {gain} = this.outputNode; const {currentTime, DECAY_WAIT, DECAY_DURATION} = this.audioEngine; - gain.setValueAtTime(gain.value, currentTime + DECAY_WAIT); gain.linearRampToValueAtTime(value / 100, currentTime + DECAY_WAIT + DECAY_DURATION); }