I have the following html page that I\'m trying to show a class for demonstrating an audio visualizer with an mp3 stored locally:
Just after initializing the Audio object, add the following:
audio.crossOrigin = "anonymous";
This should prevent the CORS access restriction.