Package

purescript-wags

Repository
mikesol/purescript-wags
License
Apache-2.0
Uploaded by
mikesol
Published on
2021-06-09

PureScript Web Audio Graphs as a Stream.

Main idea

This library is comprised of two parts.

  1. An API for creating streams of web audio graphs.
  2. 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.

Documentation

Module documentation is published on Pursuit.

Bundling on your site

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.

Modules
FRP.Event.MIDI
WAGS.Change
WAGS.Change.Optionals
WAGS.Comonad
WAGS.Connect
WAGS.Control.Functions
WAGS.Control.Functions.Validated
WAGS.Control.Indexed
WAGS.Control.Types
WAGS.Create
WAGS.Create.Optionals
WAGS.Debug
WAGS.Destroy
WAGS.Disconnect
WAGS.Edgeable
WAGS.Graph.AudioUnit
WAGS.Graph.Edge
WAGS.Graph.Graph
WAGS.Graph.Node
WAGS.Graph.Oversample
WAGS.Graph.Parameter
WAGS.Interpret
WAGS.Math
WAGS.NE2CF
WAGS.Patch
WAGS.Rendered
WAGS.Run
WAGS.Util
WAGS.Validation
Dependencies