mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
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:
parent
5d15ee324f
commit
f70825fa17
1 changed files with 1 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue