The Hills Are Alive With the Sound of Comonads
summary
Demonstrates a working browser DAW, purescript-wags, that projects and updates full Web Audio graphs 60×/s by representing audio state as cofree comonads over function-of-time functors; uses existential types to hide mutable Web Audio handles and grafts linear types as zero-cost checks. Claims O(1) stepwise extraction of the next audio frame, sustains low-latency MIDI/audio under a sub-15-millisecond deadline, and ships examples at https://wags.fm/, https://whatis.wags.fm/, https://yap.wags.fm/.
AI-written summary · about
chapters (8)
- 0:00Start
- 0:52Ben Burns
- 1:20Where Does It Live on Github
- 3:27Oscar Peterson
- 19:13Performance Characteristics
- 35:07Mini Notation
- 41:56Can You Generate a Wax Document from a Physical Synthesizer
- 48:29Rx Observables








