PureScript Web Audio Graphs as a Stream.
This library is comprised of two parts.
- An API for creating streams of web audio graphs.
- An API for rendering the streams to web audio.
There are some other examples to get you started:
The Atari speaks and Kitchen sink examples show how to use
purescript-wags in a Halogen app.
Module documentation is published on Pursuit.
To see how to bundle this library on your site, please visit the examples directory.
To compile the JS for the hello world example, issue the following command:
spago -x examples.dhall bundle-app \ --main WAGS.Example.HelloWorld \ --to examples/hello-world/index.js
Other examples will work the same way, with the directory and module name changing.