How to create surround sound effect in html5

Here is a description of the problem ...

I am creating a scene using WebGL (THREE.js). I have different objects around me, creating different sounds. Now I want to create surround sound depending on their position.

So, if the object is on my right side, then the sound from this object should come from the right speaker, etc.

Is this possible in HTML5 (any browser)

+5
source share
1 answer

AlteredQualia ran a test with this.

http://alteredqualia.com/three/examples/webgl_city.html (Chrome only)

Click mto turn off the music, and nto turn on the spatial sound of the helicopter.

+7
source

All Articles