Here is a (very) small demo of a new feature which should be in the next update of the 3D editor CopperCube
: Basically, it is some faked 3D audio for the WebGL target, but with the current limited features the HTML 5 audio element provides, it is more a 2.5D audio. But see for yourself:
The only thing it does is changing the audio volume depending on the distance to the listener. And in Firefox, even this doesn't work perfectly smoothly, only in chrome this sounds very nice. To have some real 3D audio, it would have been necessary to additionally adjust the pan, how much volume is set on the left and on the right audio speaker, but unfortunately, the HTML 5 audio API doesn't have such a feature (yet?).
But at least, it is audio at all. Until now, CopperCube/Copperlicht didn't support any audio when publishing your game or app to the WebGL target. With the next update, this will change.
If you would like to get a mail once this new version of CopperCube is released, subscribe to the Ambiera Newsletter: