Play 2D Audio in JavaScript

Viewed 18

I need a simple way to set an audio listener at a position in an coordinate system and "speakers" where the sounds come from. The listener can be rotated. (For example a player in a game)

A simple function where I can set the listener and the speaker position would do the job, but it is important that I can change both positions so it will have impact on the gain.

0 Answers
Related