Checks if the Web Audio context is unlocked and ready.
True if audio context is unlocked
if (!isAudioContextUnlocked()) { console.log('Waiting for user interaction to unlock audio');} Copy
if (!isAudioContextUnlocked()) { console.log('Waiting for user interaction to unlock audio');}
Checks if the Web Audio context is unlocked and ready.