Frequently asked questions about the Spatial Audio API, answered.
Within a few minutes, you can develop a Web application that allows two or more people to talk to each other in a virtual 3D environment using the High Fidelity Spatial Audio API.
A JSON Web Token authorizes your application code to connect to your High Fidelity Spatial Audio API Server. Learn two ways to obtain a JWT with this guide.
The DJ Bot you'll have created by the end of this guide will have the human users of your application dancing all night long. 🎶
Use this guide to build a Web App that lets users communicate with each other, identify each other, and move around a virtual 3D space. Crucially, JWT secrets are not exposed to users of this Web App.
This project builds upon the "Build a Simple Web App" guide by adding code demonstrating how one may offer the user the ability to choose input and output audio devices.
If you'd like your application code to react to user's data changing in a Space, you'll need to make use of User Data Subscriptions. Here's example code which covers those concepts.
You can integrate High Fidelity Spatial Audio with Twilio Video Chat with this example project which places user videos in a grid. Audio associated with each video is spatialized to correspond to the listener's and speaker's position.