Readonly
audioReadonly
audioReadonly
audioReadonly
gainControls volume for all audio files. Modify gain.value
on this to change playback volume.
Protected
Readonly
initReadonly
isIf true
, indicates that an internal AudioFile instance has detected that the current
browser session is allowing audio playback. Most browsers these days block audio on initial
page load until the user has interacted with the page.
Readonly
isProtected
Readonly
optionsProtected
Readonly
outputPlay a specific audio file.
Destroy and cleanup this AudioPlayer and all child AudioFile instances.
Load a batch of audio files, with an optional progress callback. Any file set to false
will
be unloaded (if it has been loaded). Any file that is omitted or set to undefined
will be
left alone (if it's already loaded it'll stay loaded, if it's not loaded, it won't be
loaded).
Optional
progressCallback: AudioLoadProgressCallbackLoad audio files.
Optional
progressCallback: AudioLoadProgressCallbackLoad all audio files at once.
Optional
progressCallback: AudioLoadProgressCallbackProtected
setup
An audio manager which handles keeping track of, loading, and playing multiple audio files.