I use createjs.Sound
to play short sound for my project. I wasn't able to use .mp3
format file and converted it to .ogg
format. .ogg
is playable, but sound is mono channel (I hear only in one side of headset). When I tried to play same file with VLC player, it sounds stereo channel (same file). I understood that have no problem with conversion of file and problem may be in configuration of SoundJS
.
Can anyone advice how to configure SoundJS
to play stereo channel audio?
There was a bug in a version of SoundJS - maybe it's because of that (depends on the version you are using...). Check the SoundJS-Github page for further information: https://github.com/CreateJS/SoundJS/issues/182
You can also try to change the pan
property: http://www.createjs.com/docs/soundjs/classes/AbstractSoundInstance.html#property_pan