ReadonlyaudioReadonlyaudioReadonlyaudioReadonlygainControls volume for all audio files. Modify gain.value on this to change playback volume.
Protected ReadonlyinitReadonlyisIf 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.
ReadonlyisProtected ReadonlyoptionsProtected ReadonlyoutputPlay 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).
OptionalprogressCallback: AudioLoadProgressCallbackLoad audio files.
OptionalprogressCallback: AudioLoadProgressCallbackLoad all audio files at once.
OptionalprogressCallback: AudioLoadProgressCallbackProtectedsetup
An audio manager which handles keeping track of, loading, and playing multiple audio files.