Current muted status of the context
Current paused status
Current global speed from 0 to 1
Current volume from 0 to 1
Static
prefixedHTML Audio does not support audioContext
Destroy and don't use after this
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Add a listener for a given event.
Optional
context: anyAdd a one-time listener for a given event.
Optional
context: anyInternal trigger when volume, mute or speed changes
Internal trigger paused changes
Remove all listeners, or those of the specified event.
Optional
event: string | symbolRemove the listeners of a given event.
Optional
fn: (...args: any[]) => voidOptional
context: anyOptional
once: booleanToggles the muted state.
The current muted state.
Toggles the paused state.
The current paused state.
The fallback version of WebAudioContext which uses
<audio>
instead of WebAudio API.Memberof
htmlaudio