Properties:
Name | Type | Description |
---|---|---|
audioContext |
AudioContext |
Reference to the Web Audio API AudioContext element, if Web Audio is available |
filters |
filters.Filter[] |
Collection of global filter |
muted |
boolean |
|
paused |
boolean |
Set the paused state for all sound |
speed |
number |
The speed of all sound |
volume |
number |
Volume to apply to all sound |
Members
Reference to the Web Audio API AudioContext element, if Web Audio is available
filters filters.Filter[]
Collection of global filter
true
if all sounds are mute
Set the paused state for all sound
The speed of all sound
Volume to apply to all sound
Methods
Destroy the context and don't use after this.
Dispatch event to refresh all instances volume, mute, etc.
Dispatches event to refresh the paused state of playing instances.
Toggle mute for all sounds
Returns:
Type | Description |
---|---|
boolean |
Toggle pause for all sounds
Returns:
Type | Description |
---|---|
boolean |