createAnalyser

open external fun createAnalyser(): AnalyserNode(source)

The createAnalyser() method of the BaseAudioContext interface creates an AnalyserNode, which can be used to expose audio time and frequency data and create data visualizations.

MDN Reference