Metronomes in JavaScript (2019)

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.
Read the full story at Meowni →
Related Skills: JavaScript
Wider Reading: Coursera — JavaScriptKhan Academy — JavaScriptedX — JavaScript

💬 0 comments

No comments yet — be the first to say what you think.