atmoky Engage Server SDK is now available! Check out the documentation to learn more.
API Reference
Interfaces
SpaceOptions

SpaceOptions

Options for the Space class.

Interface

audioBedFormat

optional
The format used to spatialize an AudioBed source.

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.
Type
AudioContext

audioRTCLoopback

optional
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.

numberOfAudioObjects

optional
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.
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.
Type
boolean | PositionSyncOptions

atmoky Logo

© 2024 atmoky, GmbH.
All rights reserved.

We use cookies to measure and improve your browsing experience, and serve personalized ads or content.