new AudioManager(options)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
options |
Object |
Methods
audioChangeMethod(mediaElement, fn)
- Source:
Assign a function as a callback for when audio data changes for audio
being played in a graphics program.
Parameters:
Name | Type | Description |
---|---|---|
mediaElement |
object | Audio element playing sound to analyze |
fn |
function | A callback to be triggered on audio data change. |