diff --git a/Tone/instrument/PolySynth.ts b/Tone/instrument/PolySynth.ts index a4e86a5a..52fb1827 100644 --- a/Tone/instrument/PolySynth.ts +++ b/Tone/instrument/PolySynth.ts @@ -367,12 +367,11 @@ export class PolySynth = Synth> extends Instrument * Trigger the release portion of all the currently active voices immediately. * Useful for silencing the synth. */ - releaseAll(): this { - const now = this.now(); + releaseAll(time?: Time): this { + const computedTime = this.toSeconds(time); this._activeVoices.forEach(({ voice }) => { - voice.triggerRelease(now); + voice.triggerRelease(computedTime); }); - this._activeVoices = []; return this; }