~/talk

JavaScript Makes Noise… but on Beat!

TalkinFrenchat MiXiT 2026 · 2026-04-16..04-17· [javascript]
links:none on file
slides:none on file

Explains why JavaScript timers like setTimeout() and setInterval() are too imprecise for musical timing and shows how to build a reliable clock using the Web Audio API to schedule sounds precisely. Includes musical definitions, code examples, and practical tips for implementing accurate audio timing in interactive web projects.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09Drum Beat Tripo project
  3. 2:58Music and rhythm basics
  4. 4:43Drum machines and sequencers
  5. 6:28Tempo and timing in JS
  6. 8:15Naive sequencer implementation
  7. 9:43Limitations of setTimeout
  8. 10:46Web Audio API solution
  9. 13:13Lookahead scheduling
  10. 16:00Final synchronized demo
  11. 17:23Performance and limitations
  12. 17:47Conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.