interface AmbientSoundPlaybackConfig {
    sound: Sound;
    source: PointSoundSource;
    object: AmbientSound;
    listener: Point;
    distance: number;
    muffled: boolean;
    walls: boolean;
    volume: number;
}

Properties

sound: Sound

The Sound node which should be controlled for playback

source: PointSoundSource

The SoundSource which defines the area of effect for the sound

object: AmbientSound

An AmbientSound object responsible for the sound, or undefined

listener: Point

The coordinates of the closest listener or undefined if there is none

distance: number

The minimum distance between a listener and the AmbientSound origin

muffled: boolean

Is the closest listener muffled

walls: boolean

Is playback constrained or muffled by walls?

volume: number

The final volume at which the Sound should be played