SpaceOptions
Options for the Space class.
Interface
audioBedFormat
optional
The format used to spatialize an AudioBed source.
The format used to spatialize an AudioBed source.
Type
AudioBedFormat
audioContext
optional
The audio context to be used by the space. You can pass an existing audio context or let the space create a new one.
The audio context to be used by the space. You can pass an existing audio context or let the space create a new one.
Type
AudioContext
audioRTCLoopback
optional
Whether or not to route output audio through an RTC loopback.
Whether or not to route output audio through an RTC loopback.
Remarks
Routing audio through an RTC loopback is a workaround a
known Chromium issue where echo cancellation is not applied to
WebAudio output.Type
AudioRTCLoopback
coordinateSystem
optional
Coordinate system to be used to position audio objects within the space.
Coordinate system to be used to position audio objects within the space.
Type
CoordinateSystem
numberOfAudioObjects
optional
The number of audio objects the renderer should be able to handle.
The number of audio objects the renderer should be able to handle.
Type
number
numberOfDistanceModels
optional
The number of distance models the space should create.
The number of distance models the space should create.
Remarks
DistanceModels can be assigned to audio objects and define how
the audio object's volume changes over distance.Type
number
positionSync
optional
Options for the position sync feature.
Options for the position sync feature.