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
AudioBedFormataudioContext
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
AudioContextaudioRTCLoopback
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
AudioRTCLoopbackcoordinateSystem
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
CoordinateSystemnumberOfAudioObjects
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
numbernumberOfDistanceModels
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
numberpositionSync
optional
Options for the position sync feature.
Options for the position sync feature.