Visualizations with Web Audio API

To extract data from your audio source, you need an AnalyserNode, which is created using the AudioContext.createAnalyser() method, for example: