Functional Reactive Programming And The Web Audio API

preview_player
Показать описание
Web Audio Conference 2021 - Online - July 5-7

Mike Solomon (Meeshkan)

Abstract:
Functional Reactive Programming (FRP) is a way to model temporal phenomena using events, which carry information corresponding to a precise moment in time, and behaviors, which represent time-varying values. This paper shows how FRP can be used to build reactive audio applications that blend the WebAudio API with other browser-based APIs, such as mouse events and MIDI events. It will start by presenting a brief history of FRP as well as definitions of the Event and Behavior types. It will then discuss the principal challenges of applying the behavior pattern to WebAudio and how these challenges can be solved by using induction on existentially-quantified and linearly-typed Indexed Cofree Comonads. An implementation of this approach is provided via the library purescript-wags.

Рекомендации по теме