shim for legacy Web Audio API
JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build v0.3.0 Jun 29, 2015
examples add examples/worker [ci skip] Mar 22, 2015
src add api stage Jun 29, 2015
test add api stage Jun 29, 2015
.eslintrc update dependencies Jun 29, 2015
.gitignore init Mar 20, 2015
.travis.yml add dev tools Mar 21, 2015
README.md Update README.md Feb 5, 2016
index.html update documents Jun 29, 2015
index.js add api stage Jun 29, 2015
karma.conf.js update karma configuration Apr 4, 2015
light.js add api stage Jun 29, 2015
package.json v0.3.0 Jun 29, 2015

README.md

web-audio-api-shim

Build Status NPM Version Dependency Status License

shim for legacy Web Audio API

Specification

Installation

npm:

npm install @mohayonao/web-audio-api-shim

You can choose two versions that are named full or light. The light version installs easy polyfills only.

// install full version
require("@mohayonao/web-audio-api-shim");

// install light version
require("@mohayonao/web-audio-api-shim/light");

downloads:

Implemented

  • AnalyserNode#getFloatTimeDomainData
  • AudioBuffer#copyFromChannel
  • AudioBuffer#copyToChannel
  • AudioContext#createStereoPanner
  • AudioContext#decodeAudioData
  • OfflineAudioContext#startRendering

The below API are excluded in the light version.

  • AudioContext#close
  • AudioContext#resume
  • AudioContext#suspend
  • AudioNode#disconnect

Not Implemented

  • AudioContext#createAudioWorker

API Supports

Shim Shim L Chrome Opera Firefox Safari
getFloatTimeDomainData 🆗 🆗 🆗 37 🆗 22 🆗 30 9
copyFromChannel 🆗 🆗 🆗 43 🆗 30 🆗 27 9
copyToChannel 🆗 🆗 🆗 43 🆗 30 🆗 27 9
createAudioWorker 48 35 44 9
createStereoPanner 🆗 🆗 🆗 41 🆗 28 🆗 37 9
decodeAudioData 🆗 🆗 48 35 🆗 36 9
close 🆗 🆗 42 🆗 29 🆗 40 🆗 9
suspend 🆗 🆗 41 🆗 28 🆗 40 🆗 9
resume 🆗 🆗 41 🆗 28 🆗 40 🆗 9
startRendering 🆗 🆗 🆗 42 🆗 29 🆗 37 9
disconnect 🆗 🆗 43 🆗 30 44 9

Online test suites

License

  • MIT