sono
A simple yet powerful JavaScript library for working with Web Audio
http://stinkstudios.github.io/sono/
Features
- Full audio management including loading, playback, effects and processing
- Abstracts differences across browsers such as file types and Web Audio support
- Web Audio effects such as 3d positioning, reverb and frequency analysis
- Handles inputs from audio files, media elements, microphone, oscillators and scripts
- Falls back to HTMLAudioElement where Web Audio is not supported (e.g. IE 11 and less)
- Pauses and resumes audio playback on page visibility changes
- Handles initial touch to unlock media playback on mobile devices
Installation
npm i -S sono
Usage
;;; const sound = sono;soundeffects = sono sono;sound;
Documentation
Getting started
Sounds
Effects
Controls
Loading
Utils
Dev setup
Install dependencies
npm i
Run tests
npm i -g karma-clinpm test
Run examples
npm run examples
Build bundles
npm run build
Watch and test
npm start