J4G Posted May 19, 2015 Share Posted May 19, 2015 Is there any way to use Phaser's built-in sound management to "position" sounds within stereo channels or even 5.1 if possible? I know WebAudio supports it, but I don't see anything like that in Phaser's documentation. Tilde 1 Link to comment Share on other sites More sharing options...
Tilde Posted October 8, 2015 Share Posted October 8, 2015 Still a question! Link to comment Share on other sites More sharing options...
drhayes Posted October 9, 2015 Share Posted October 9, 2015 I had this question, too, and it went unanswered. My best guess is that if you know the game is using WebAudio you can use the externalNode property on Phaser.Sound to hook up to a PannerNode yourself. It doesn't look like Phaser supports this out of the box beyond exposing the externalNode property; i.e. there's no "pan" property. Link to comment Share on other sites More sharing options...
CtlAltDel Posted October 9, 2015 Share Posted October 9, 2015 You might get some inspiration from this pull request, it did not get merged, but you should be able to attach the node etc yourself and run it in the update loop. That's how do fix it currently. https://github.com/photonstorm/phaser/pull/1249 Hopefully rich will add some proper support in phaser 3 Tilde 1 Link to comment Share on other sites More sharing options...
Recommended Posts