node package manager

web-audio-ios

web-audio-ios

unlock web audio in ios/safari/whatever

an npm-ified version of How to: Web Audio on iOS by Paul Bakaus

NPM js-standard-style

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 })