Current muted status of the context
Current paused status
Current global speed from 0 to 1
Current volume from 0 to 1
StaticprefixedHTML 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.
Optionalcontext: anyAdd a one-time listener for a given event.
Optionalcontext: anyInternal trigger when volume, mute or speed changes
Internal trigger paused changes
Remove all listeners, or those of the specified event.
Optionalevent: string | symbolRemove the listeners of a given event.
Optionalfn: (...args: any[]) => voidOptionalcontext: anyOptionalonce: 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