From a5fceee69fc1d5240b16380c2c4c2972286aae16 Mon Sep 17 00:00:00 2001 From: tambien Date: Wed, 9 Jan 2019 22:13:40 -0500 Subject: [PATCH] changing step time to 1 sample --- Tone/core/Param.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tone/core/Param.js b/Tone/core/Param.js index 11cc068a..cf525ae9 100644 --- a/Tone/core/Param.js +++ b/Tone/core/Param.js @@ -484,7 +484,7 @@ define(["../core/Tone", "../type/Type", "../core/AudioNode", "../core/Timeline"] if (after){ this._events.cancel(after.time); } else { - this._events.cancel(time + 1e-6); + this._events.cancel(time + this.sampleTime); } } else if (after){ //cancel the next event(s)