Private
_stepsWhether or not to play the sound globally
Whether or not to loop the sound
Pitch of the sound emitted
Range of the sound emitted
Item id of the sound to use
Used for attempting to sync the audio between clients
Volume of the sound emitted
Static
Readonly
captureStatic
captureSets or gets the default captureRejection value for all emitters.
Static
defaultStatic
Readonly
errorThis symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error'
listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
Static
soundRest
...args: any[]Rest
...args: any[]Rest
...args: any[]Rest
...args: any[]Rest
...args: any[]Rest
...args: any[]Optional
event: string | symbolRest
...args: any[]Identical to setInterval, but will be cleared after the sound emitter is destroyed. Use this if you want to attach loops to sound emitters, but don't want to worry about clearing them after they're destroyed.
The callback function.
The delay in milliseconds.
Static
listenerStatic
onStatic
once
If .destroy() has been called on the sound emitter.