~/talk

Latency and Synchronization in Web Audio

Talkat Web Audio Conference 2018 · 2018-09-19..09-21· [web-performance]
links:none on file
slides:none on file

A live‑looping looper called resonator handles UI, input and output latency by measuring offsets (including a headphone hricko rang loopback trick and an optional piezo buzzer) and converting performance.now to audioContext time via getOutputTimestamp where available. Audio is captured in a worklet node or script processor, sent as timed chunks to a worker that stores about 1 second of history, swaps a temporary buffer for the assembled buffer, and supports starting/stopping/playing in the past plus “button press fudging” and pre‑roll pickups.

AI-written summary · about

  1. 0:00Introduction to Web Audio
  2. 1:50Naive approach and latency problem
  3. 3:35Types of latency in Web Audio
  4. 6:09Measuring latency values
  5. 8:36Correcting for latency offsets
  6. 11:09Flexible recording system design
  7. 13:18Declarative audio playback API
  8. 15:25Advanced features with flexible recording
  9. 17:37Conclusion and key takeaways
~/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.