This site has been permanently archived. The content on this site was last updated in 2019.
com.google.vr.sdk.audio
Code for 3D-spatialized sound in Google VR.
Classes
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["This documentation provides code for creating 3D spatialized sound in Google VR experiences."],["The `GvrAudioEngine` class is the primary tool for spatializing sound sources within a 3D environment."],["Developers can control sound behavior using distance rolloff models, surface materials, and rendering modes."],["The `GvrAudioSurround` class enables binaural rendering of surround sound and ambisonic soundfields for immersive audio experiences."]]],["The provided content details classes for implementing 3D-spatialized sound within Google VR. Key classes include `GvrAudioEngine`, which spatializes sound sources, and `GvrAudioSurround`, which handles surround and ambisonic soundfields. `GvrAudioEngine` includes options to control distance effects through `DistanceRolloffModel`, define surface materials using `MaterialName`, and adjust the sound's rendering via `RenderingMode`. `GvrAudioSurround` uses `SurroundFormat` to manage surround sound formats. These classes allow for realistic audio integration into virtual reality environments.\n"]]