Constructor.
OptionalaudioSource: HTMLMediaElement | MediaElementAudioSourceNodeInput HTML element with source audio (HTML audio tag) or the instance of MediaElementAudioSourceNode.
OptionalviewElement: HTMLElementThe HTML element to render the widget. Will be auto created if it is undefined or null.
Optionaloptions: IAbstractAnalyzerOptionsAnalyzer options.
Changes the current media source.
OptionalaudioSource: HTMLMediaElement | MediaElementAudioSourceNodeInput HTML element with source audio (HTML audio tag) or the instance of MediaElementAudioSourceNode.
Clears the canvas.
Returns the audio source structure for this instance.
The audio source structure.
Returns the ViewElement for this instance.
Pauses rendering.
Updates the canvas size depended on the [[constructor|viewElement]] size.
Starts rendering.
Stops rendering.
Waveform analyzer widget.
Example
Example:
See
See more options at interface definition: common.IAbstractAnalyzerOptions