Readonly
idAuto-incrementing ID for the instance.
If the current instance is set to loop
Set the muted state of the instance
If the instance is paused, if the sound or global context is paused, this could still be false.
Readonly
progressCurrent progress of the sound from 0 to 1
Current speed of the instance. This is not the actual speed since it takes into account the global context and the sound volume.
Current volume of the instance. This is not the actual volume since it takes into account the global context and the sound volume.
Optional
fn: (...args: any[]) => voidOptional
context: anyOptional
once: booleanOptional
context: anyOptional
context: anyOptional
context: anyOptional
context: anyOptional
context: anyOptional
context: anyStop the current instance from playing.
Interface for single instance return by a Sound play call. This can either be a WebAudio or HTMLAudio instance.