Abstract
This argument is sample rate.
Protected
canvasProtected
channelProtected
contextProtected
graphicsProtected
intervalProtected
isProtected
sampleProtected
stylesProtected
svgProtected
Static
SVG_Protected
Static
SVG_Protected
Static
SVG_Static
Readonly
XLINKStatic
Readonly
XMLNSThis method activates visualizer.
Return value is for method chain.
This method clears graphics.
Return value is for method chain.
Protected
createProtected
createSVGLinearThis method deactivates visualizer.
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 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.
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
Abstract
visualizeProtected
Abstract
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 is superclass for visualizer class (
TimeOverview
,Time
,FFT
).