Skip to content

SoundEventAsset

Defined in: audio/SoundEvent.ts:11

Versioned .esaudioevent document shared by authoring and playback.

bus: string

Defined in: audio/SoundEvent.ts:18


clips: SoundEventClip[]

Defined in: audio/SoundEvent.ts:13


cooldown: number

Defined in: audio/SoundEvent.ts:23

Seconds on the consumer’s simulation clock.


maxInstances: number

Defined in: audio/SoundEvent.ts:21

0 means unlimited. Pending loads and paused voices still own a slot.


mode: SoundEventMode

Defined in: audio/SoundEvent.ts:14


playbackRate: [number, number]

Defined in: audio/SoundEvent.ts:17

Playback rate changes both pitch and duration; this is not time stretching.


priority: number

Defined in: audio/SoundEvent.ts:19


optional spatial?: SpatialAudioConfig

Defined in: audio/SoundEvent.ts:24


version: 1

Defined in: audio/SoundEvent.ts:12


volume: [number, number]

Defined in: audio/SoundEvent.ts:15