mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
adding explicit start time to Transport.start in tests
This commit is contained in:
parent
7a1380637e
commit
7529599607
1 changed files with 4 additions and 4 deletions
|
@ -652,7 +652,7 @@ define(["helper/Basic", "Tone/event/Part", "Tone/core/Tone",
|
|||
part.loop = true;
|
||||
part.loopEnd = 0.5;
|
||||
part.start(0, 1.05);
|
||||
Tone.Transport.start();
|
||||
Tone.Transport.start(Tone.now());
|
||||
});
|
||||
|
||||
it("can start a loop with an offset before loop start", function(done){
|
||||
|
@ -677,7 +677,7 @@ define(["helper/Basic", "Tone/event/Part", "Tone/core/Tone",
|
|||
part.loopStart = 0.25;
|
||||
part.loopEnd = 0.5;
|
||||
part.start(0, 0);
|
||||
Tone.Transport.start();
|
||||
Tone.Transport.start(Tone.now());
|
||||
});
|
||||
|
||||
});
|
||||
|
@ -702,7 +702,7 @@ define(["helper/Basic", "Tone/event/Part", "Tone/core/Tone",
|
|||
lastCall = time;
|
||||
}
|
||||
}).start(0);
|
||||
Tone.Transport.start();
|
||||
Tone.Transport.start(0);
|
||||
|
||||
after(function(){
|
||||
part.dispose();
|
||||
|
@ -729,7 +729,7 @@ define(["helper/Basic", "Tone/event/Part", "Tone/core/Tone",
|
|||
lastCall = time;
|
||||
}
|
||||
}).start(0);
|
||||
Tone.Transport.start();
|
||||
Tone.Transport.start(0);
|
||||
|
||||
after(function(){
|
||||
part.dispose();
|
||||
|
|
Loading…
Reference in a new issue