shim for legacy Web Audio API
JavaScript HTML
Latest commit 422a151 Feb 5, 2016 @mohayonao Update README.md
Permalink
Failed to load latest commit information.
build
examples
src
test
.eslintrc
.gitignore
.travis.yml
README.md
index.html
index.js
karma.conf.js
light.js
package.json

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