Audio
Introduction
Audio is essential for creating a fully immersive experience in any scene. It adds depth, emotion, and atmosphere, making interactions more engaging and memorable. Whether you’re aiming for realistic soundscapes or stylized audio effects, well-crafted audio design significantly enhances the impact and mood of your scene, drawing users deeper into the experience.
Supported Formats
Studio supports the following audio file types: .mp3 and .m4a
Adding Audio
Audio can be added to the entity via the Studio interface or in code. Adding them in Studio is done via the 'New Component' button. The Audio component features various play settings.
Types of Audio
Global: A sound that plays throughout the world with no changes in volume.
Positional: A sound that plays at a certain position in the world and changes volume based on distance.
See the World and Audio Component APIs for properties and functions.