Metronomes in JavaScript (2019)
TL;DR:
For the first 2 metronomes, in this callback you also make the audio tick (except for the Web Audio scheduler metronome, which makes the audio tick on its own time).
Longer Read:
Keeping time in JavaScript is kind of a joke, not just because time is a social construct (this is the Jenn Schiffer social engineering at work), but because it’s really easy to write code that blocks the timekeeper. This means that most of the time, you write blocking code, but it only blocks for a little bit – 1ms here and there.
Related Skills:
JavaScript
💬 0 comments