Here’s an article on creating feedback loops in the browser using purescript-wags
. There’s also a demo page to hear the loops live in action.
The wags
API has changed a lot since the release of v0.1.0
. You now define “mixing boards” at the type level that are reflected on the term level using patch
. patch
is sort of like mempty
for mixing boards: it creates a blank-slate audio mixer with sensible defaults that is then tweaked with a function called change
. The article follows this pattern. Enjoy!