Constructor.
Input HTML element with source audio (HTML audio tag) or the instance of MediaElementAudioSourceNode.
The HTML element to render the widget. Will be auto created if it is undefined or null.
Analyzer options.
The list of audio sources.
Changes the current media source.
Input HTML element with source audio (HTML audio tag) or the instance of MediaElementAudioSourceNode.
Clears the canvas.
Creates measurement dividing bars.
Draws amplitude level for the given analyzer.
Returns the audio source structure for this instance.
The audio source structure.
Returns the ViewElement for this instance.
Pauses rendering.
Draws amplitude level graph.
Updates the canvas size depended on the viewElement size.
Starts rendering.
Stops rendering.
Converts short format color '#abc' to long format color: '#aabbcc'.
Generated using TypeDoc
Amplitude analyzer widget.