Constructor
new AudioFrequencyCanvasVisualizer(propertiesopt)
Class to visualize audio frequency using Native canvas drawing
Parameters:
Name |
Type |
Attributes |
Default |
Description |
properties |
Object
|
<optional>
|
{}
|
the properties of the visualizer
Properties
Name |
Type |
Attributes |
Default |
Description |
fftSize |
number
|
<optional>
|
32
|
The fftSize property of the AnalyserNode interface is an unsigned long value and represents the window size in samples that is used when performing a Fast Fourier Transform (FFT) to get frequency domain data. |
barWidth |
Object
|
<optional>
|
10
|
bar width |
container |
string
|
|
|
The div element to attach to |
css |
string
|
<optional>
|
''
|
The css classes to set, can be multiple if separate by spaces |
|
- Source: