web-audio-ios
v1.0.2
Published
unlock web-audio in ios/safari based on "How to: Web Audio on iOS by Paul Bakaus"
Downloads
11
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 })