One of the most powerful features of Tone.js is the ability to schedule musical events on a timeline. You can play notes at specific times, schedule loops, or even create full songs programmatically.
"0:1:2" for bar:beat:sixteenth.
Tone.Transport.schedule(callback, time) â Schedule a one-time eventTone.Transport.scheduleRepeat(callback, interval, startTime) â Repeating eventsTone.Transport.start() / pause() / stop()Tone.Transport.bpm.value â Control tempo (default is 120)Tone.Transport.timeSignature â Set time signatureTone.Loop or Tone.Part to create complex sequences. You can stop loops with .stop() or .dispose().