start no longer starts one lookAhead in the future

made testing more difficult and inconsistent with other behavior of Time
This commit is contained in:
Yotam Mann 2016-12-20 22:49:20 -05:00
parent 5d15ee324f
commit f70825fa17

View file

@ -115,11 +115,7 @@ define(["Tone/core/Tone", "Tone/signal/TimelineSignal", "Tone/core/TimelineState
* @return {Tone.Clock} this
*/
Tone.Clock.prototype.start = function(time, offset){
if (this.isUndef(time)){
time = this.toSeconds(time) + Tone.Clock.lookAhead;
} else {
time = this.toSeconds(time);
}
time = this.toSeconds(time);
if (this._state.getValueAtTime(time) !== Tone.State.Started){
this._state.add({
"state" : Tone.State.Started,