This argument is sample rate.
This argument is channel number (Left: 0, Right: 1 ...).
Protected
canvasProtected
channelProtected
contextProtected
graphicsProtected
intervalProtected
isProtected
sampleProtected
stylesProtected
svgProtected
Static
SVG_Protected
Static
SVG_Protected
Static
SVG_Static
Readonly
XLINKStatic
Readonly
XMLNSThis method creates visualized graphics as string (Data URL or SVG).
Protected
createThis method creates string for font styles.
Protected
createSVGLinearThis 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 spectrum. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrum if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrum. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrum if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrum. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrum if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrum. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrum if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrum. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrum if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrum. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrum if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrum. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrum if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrum. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrum if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualizing spectrum. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing spectrum if getter. Otherwise, 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.
Optional
minDecibels: numberThis argument is parameter for spectrum. The default value is -100 dB.
Optional
maxDecibels: 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.
Protected
visualizeThis method visualizes spectrum to SVG.
This argument is frequency domain data for spectrum.
Optional
minDecibels: numberThis argument is in order to determine dB range of spectrum. Default value is -100 dB.
Optional
maxDecibels: numberThis argument is in order to determine db range of spectrum. Default value is -30 dB.
Protected
visualizeThis method visualizes spectrum to Canvas.
This argument is frequency domain data for spectrum.
Optional
minDecibels: numberThis argument is in order to determine dB range of spectrum. The default value is -100 dB.
Optional
maxDecibels: numberThis argument is in order to determine db range of spectrum. The default value is -30 dB.
Protected
visualizeThis 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
.
Protected
visualizeThis 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.
Optional
numberOfPlots: numberThis argument is interval for visualization.
This private class visualizes spectrum.