Is there a way to remove an AudioContext after I\'ve created it?
AudioContext
var analyzers = []; var contexts = []; try { for(var i = 0; i<20; i++) {
Reference it to a variable i.e: var myAudioCtx = new AudioContext(); Then destroy by calling myAudioCtx.close(); That's it.
var myAudioCtx = new AudioContext();
myAudioCtx.close();