changing step time to 1 sample

This commit is contained in:
tambien 2019-01-09 22:13:40 -05:00
parent 68bb4faa31
commit a5fceee69f

View file

@ -484,7 +484,7 @@ define(["../core/Tone", "../type/Type", "../core/AudioNode", "../core/Timeline"]
if (after){ if (after){
this._events.cancel(after.time); this._events.cancel(after.time);
} else { } else {
this._events.cancel(time + 1e-6); this._events.cancel(time + this.sampleTime);
} }
} else if (after){ } else if (after){
//cancel the next event(s) //cancel the next event(s)