Package Exports
- web-audio-ios
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (web-audio-ios) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
web-audio-ios
unlock web audio in ios/safari/whatever
an npm-ified version of How to: Web Audio on iOS by Paul Bakaus
EXAMPLE
var wai = require('web-audi-ios') wai(document.body, yrAudioContext, function (unlocked) { console.log(unlocked, 'yay audio is unlocked now! do yr thing!') // if for some reason unlocked is false, then something strange has happened and u should handle that })