AI-generated Key Takeaways
-
This documentation provides code for creating 3D spatialized sound in Google VR experiences.
-
The
GvrAudioEngineclass 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
GvrAudioSurroundclass enables binaural rendering of surround sound and ambisonic soundfields for immersive audio experiences.
Code for 3D-spatialized sound in Google VR.
Classes
| GvrAudioEngine | Engine to spatialize sound sources in 3D space. |
| GvrAudioEngine.DistanceRolloffModel | Defines constants representing different distance effect rolloff models. |
| GvrAudioEngine.MaterialName | Defines constants representing the surface materials for use with room effects. |
| GvrAudioEngine.RenderingMode | Defines constants to adjust rendering mode. |
| GvrAudioSurround | Binaurally renders surround sound and ambisonic soundfields. |
| GvrAudioSurround.SurroundFormat | Defines constants to define surround format. |