Tone.Transport
is the application-wide timekeeper. Its clock source enables sample-accurate scheduling as well as tempo-curves and automation. This example uses Tone.Sequence to invoke a callback every 16th note.