Package

purescript-webaudio

Repository
adkelley/purescript-webaudio
License
MIT
Uploaded by
adkelley
Published on
2019-09-10

Latest release Build status

This library provides PureScript wrappers for the HTML5 Web Audio API

Installation

$ bower install OR spago build

Documentation

Module documentation is published on Pursuit

Examples

To build the examples perform the following scripts in order:

  1. npm run build:example:xx where xx is the example (squareWave, gain, decode, decodeAsync)

To run the examples in your browser, perform the following scripts in order:

  1. npm run exec:example:xx where xx is the example (squareWave, gain, decode, decodeAsync)

Note: The resolutions in the bower.json file (e.g., "purescript-typelevel") are required to compile and run "squareWave". These versions don't appear to conflict with the purescript-webaudio libary.

Tests

To build the test suite

  1. npm run build:test:props

To run the test suite

  1. npm run exec:test:props and inspect the output log