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
XMLNSProtected
createProtected
createSVGLinearThis method gets or sets parameters for visualizing sound wave. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualizing sound wave if getter. Otherwise, return value is for method chain.
This method gets or sets parameters for visualization. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualization if getter.
This method gets or sets parameters for visualization. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualization if getter.
This method gets or sets parameters for visualization. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualization if getter.
This method gets or sets parameters for visualization. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for visualization if getter.
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.
Protected
visualizeProtected
visualizeProtected
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 sound wave in time domain.