adkelley / purescript-webaudio

A PureScript wrapper around the HTML5 Web Audio API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

purescript-webaudio

Latest release Build status

This library provides PureScript wrappers for the HTML5 Web Audio API

Installation

$ spago build OR bower install followed by pulp build

Documentation

Module documentation is published on Pursuit

Examples

To build the examples perform the following scripts in order:

  1. npm run spago: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 spago:build:test:props

To run the test suite

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

About

A PureScript wrapper around the HTML5 Web Audio API

License:MIT License


Languages

Language:PureScript 70.9%Language:JavaScript 20.5%Language:Dhall 8.1%Language:Shell 0.3%Language:HTML 0.3%