Class: AudioChartVisualizer

AudioChartVisualizer(propertiesopt)

This abstract class is in charge of visualizing Audio based on chart.js framework and using a decoded AudioBuffer.

Constructor

new AudioChartVisualizer(propertiesopt)

Create a visualizer.
Parameters:
Name Type Attributes Default Description
properties Object <optional>
{} the properties of the visualizer
Properties
Name Type Attributes Default Description
container string The div element to attach to
css string <optional>
'' The css classes to set, can be multiple if separate by spaces
fftSize Number 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/time domain data.
chartjsProps Object <optional>
{} Properties which can override the default framework ones
Properties
Name Type Attributes Default Description
datasetsProps Object <optional>
{} chart.js dataset options.
chartProps Object <optional>
{} chart.js context configuration options
Source:

Extends