Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.72 KB

README.md

File metadata and controls

51 lines (31 loc) · 1.72 KB

Demo

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.

Running locally

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.

Deploying for production

This demo is a Next.js app. You can deploy to your Vercel account with one click:

Deploy with Vercel

Refer to the Next.js deployment documentation for more about deploying to a production environment.

Asset credits

This demo uses the following assets:

They're both wonderful artists, check out their work!