Try it for free at https://spatial.dmeet.org
A tiny 2D world you can join, navigate, and both see and hear other users, experiencing their audio in stereo according to their relative position and distance.
Clone the repo and install dependencies:
git clone git@github.com:dTelecom/spatial-audio.git
cd spatial-audio
npm install
Create a new project at https://cloud.dtelecom.org. Then create a new key in your project settings.
Create a new file at spatial-audio/.env.development
and add your new API key and secret:
API_KEY=<your api key>
API_SECRET=<your api secret>
(Note: this file is in .gitignore
. Never commit your API secret to git.)
Then run the development server:
npm run dev
You can test it by opening http://localhost:3000 in a browser.
This demo is a Next.js app. You can deploy to your Vercel account with one click:
Refer to the Next.js deployment documentation for more about deploying to a production environment.
This demo uses the following assets:
- Field of Green and boombox sprite by GuttyKreum
- Dino Characters by Arks
They're both wonderful artists, check out their work!