Functional Reactive Programming And The Web Audio API
summary
Demonstrates a PureScript library purescript-wags that compiles declarative Behavior and Event types into Web Audio graphs sampled by the audio clock (claims viable at ~50 Hz), integrates mouse and MIDI events, and delivers working demos (glitch, glistening pad, live mic feedback) served at the given URLs. Argues the approach uses existentially-quantified, linearly-typed Indexed Cofree Comonads to turn compile-time graph types into efficient runtime node wiring and sampling.
AI-written summary · about
chapters (6)
- 0:00Start
- 3:19Sampling
- 4:40Declarative versus Imperative Programming
- 5:08Functional Reactive Programming
- 6:55Event
- 8:35Conclusion
related talks
29mReactive Web Animations with RxJS
29mReactive Music Apps in Angular 2 and ngrx/store
46mFunctional Reactive Programming
43mBeyond the buzzword: a reactive web application in practice
42mConquering Time with Functional Reactive Programming
28mReactive Programming Demystified Drink the Kool-Aid
57mBeyond the buzzword: A reactive web application in practice
52mBeyond the Buzzword: A Reactive Web Application in Practice
