diff --git a/src/App.svelte b/src/App.svelte index 22d699b..7c93db3 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -41,13 +41,7 @@ } async function updateTempo(updateFn: (currentTempo: number) => number) { - if (scheduleId) { - Tone.Transport.clear(scheduleId); - scheduleId = 0; - } - Tone.Transport.stop(); Tone.Transport.bpm.value = Math.round(updateFn(Tone.Transport.bpm.value)); - Tone.Transport.start(); }