Some comments pointed out that there are latency issues, which are mainly caused by tonejs. I used tonejs a few years ago for my first live coding project: https://quaverseries.web.app/
Interestingly, I also used the same interactive rhythm prompts as op in the page title, but the timing was not accurate at all. See this classic article: https://web.dev/articles/audio-scheduling
Later, in order to refine my idea, I used rust + wasm and made https://glicol.org/.
It basically solved the audio latency problem, and I also made js bindings: https://glicol.js.org/
I'd love to get as much feedback as possible. I feel that this sequencer is particularly suitable for glicol's seq syntax.
Might I recommend you put a link to `glicol.js.org` from your main site. I might have given this a go instead of tone.js on a recent project.
https://akkartik.name/freewheeling
<3