Class: AudioChart

AudioChart~AudioChart(options)

Main object for API consumers

Constructor

new AudioChart(options)

Create an AudioChart object. This first checks to see if the Web Audio API is available, and throws an {Error} if not. Then check the options given by the user.
Parameters:
Name Type Description
options AudioChartOptions AudioChart options
Source:

Members

options

Returns the current set of options (passed in at object creation, or computed when options were updated).
Source:

Methods

playPause()

Passes through play/pause commands to the Player
Source:

updateOptions(newOptions)

Updates an AudioChart object to reflect new options. Can accept a subset of the standard options, so if only, for example, duration changes, then you need only specify the new duration and not the type and other paramaters.
Parameters:
Name Type Description
newOptions AudioChartOptions Partial/full AudioChart options
Source: