ProtectedanalyserProtectedcanvasProtectedchannelProtectedcontextProtectedgraphicsProtectedintervalProtectedisProtectedsampleProtectedstylesProtectedsvgThis method connects sound source to analyser node.
This argument is either SoundModule or AudioNode.
Return value is for method chain.
This method creates visualized graphics as string (Data URL or Blob or SVG).
OptionalmimeType: stringThis argument is string that indicates image format. The default value is image/octet-stream.
Optionalparams: { callback: BlobCallback; quality?: number; type?: string }ProtectedcreateThis method creates string for font styles.
ProtectedcreateThis method creates elements for SVG linear gradient.
This argument is id attribute for SVGLinearGradientElement.
This value is as instance of SVGDefsElement.
This method gets instance of HTMLCanvasElement or SVGSVGElement.
This method gets or sets parameters for visualizing spectrogram. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrogram if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrogram. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrogram if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrogram. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrogram if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrogram. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrogram if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrogram. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrogram if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrogram. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrogram if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrogram. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrogram if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrogram. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrogram if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrogram. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrogram if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrogram. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrogram if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrogram. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrogram if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrogram. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrogram if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrogram. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrogram if getter. Otherwise, return value is for method chain.
ProtectedrenderThis method visualizes spectrogram to Canvas.
This argument is frequency domain data for spectrogram.
ProtectedrenderThis method visualizes spectrogram to SVG.
This argument is frequency domain data for spectrogram.
ProtectedrenderThis method visualizes time domain data (Float32Array) to Canvas.
This argument is instance of CanvasRenderingContext2D.
This argument is time domain data.
This argument is width of visualization area.
This argument is height of visualization area.
This argument is middle of visualization area.
OptionalnumberOfPlots: numberThis argument is interval for visualization.
ProtectedrenderThis method visualizes time domain data (Float32Array) to SVG.
This argument is time domain data.
This argument is width of visualization area.
This argument is height of visualization area.
This argument is middle of visualization area.
This argument is interval for visualization.
This argument is id attribute for SVGLinearGradientElement.
This value is instance of SVGPathElement or SVGGElement.
This method sets function that converts number to color string.
This argument is function that converts number to color string;
Return value is for method chain.
This method sets up for using Canvas or SVG.
This argument is either HTMLCanvasElement or SVGSVGElement.
Return value is for method chain.
This method visualizes sound wave to Canvas or SVG. This method conceals difference of API for visualization.
This argument is sound data for visualization.
OptionalminDecibels: numberThis argument is parameter for spectrum. The default value is -100 dB.
OptionalmaxDecibels: numberThis argument is parameter for spectrum. The default value is -30 dB.
Return value is for method chain.
This method gets visualizer state. If returns true, visualizer is active.
This private class visualizes spectrogram.