createAnalyser

The createAnalyser() method of the can be used to expose audio time and frequency data and create data visualizations.

MDN Reference