Skip to content

Instantly share code, notes, and snippets.

Always building stuff

Sam Hulick ffxsam

Always building stuff
  • Chicago
Block or report user

Report or block ffxsam

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
laziel / unlock.js
Created Sep 18, 2015
Unlock Web Audio in iOS 9 Safari
View unlock.js
var ctx = null, usingWebAudio = true;
try {
if (typeof AudioContext !== 'undefined') {
ctx = new AudioContext();
} else if (typeof webkitAudioContext !== 'undefined') {
ctx = new webkitAudioContext();
} else {
usingWebAudio = false;
You can’t perform that action at this time.