~/talk

What Happens When the Music Starts? The Architecture of Browser Audio

Talkat Commit Your Code 2026 · 2026-09-02..09-04· [web-platform, web-performance]
links:none on file
slides:none on file

Three levels of browser audio are compared with concrete tradeoffs: the HTML5 audio tag gives no signal access; the Web Audio API exposes AudioNodes so you can implement music ducking with an AnalyzerNode driving a GainNode; Audio Worklets run on a dedicated thread processing 128-sample blocks to avoid audible pops caused by main-thread GC or UI load. For lowest latency the math (multiplication for gain, accumulation for mixing) is moved to C++/Rust compiled to WASM via mscripim and integrated into an AudioWorklet; 4Track.fm is a working example.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15Why audio matters
  3. 1:59Audio layers in browser
  4. 2:22HTML5 audio tag trade-offs
  5. 4:52Web Audio API routing
  6. 7:39Music ducking example
  7. 11:17Audio worklets and DSP
  8. 13:20Digital signal processing basics
  9. 16:34JavaScript real-time challenges
  10. 17:38WebAssembly for audio
  11. 20:33Frameworks and next steps
  12. 21:14Favorite audio experiences
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.