~/talk

Metaprogramming Strategies for AudioWorklets

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

Ports Genish.js and Gibberish.js from ScriptProcessor to AudioWorklets and demonstrates a working approach that mirrors state across threads using ES6 Proxy objects, with sequencing and scheduling moved into the audio thread so modulation can run at audio rate. Property changes and the last computed values are batched per block and sends block updates back to the main thread for visualization. Function passing fails for closures—function serialization loses closures—so dynamic live‑coding patterns remain unresolved. SharedArrayBuffer may simplify some work.

AI-written summary · about

  1. 0:00Introduction to audio worklets
  2. 1:25Script processor node limitations
  3. 2:29Porting libraries to audio worklets
  4. 3:33Simple porting with Genish
  5. 4:59State synchronization challenges
  6. 7:51Closure serialization issues
  7. 10:02Live coding in Gibber
  8. 12:53Performance and latency notes
  9. 13:15Conclusion and future work
~/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.