StageXL icon indicating copy to clipboard operation
StageXL copied to clipboard

SoundTransform.pan has no effect

Open karmacod3r opened this issue 8 years ago • 5 comments

SoundTransform.pan has no effect and panning does not seem to be implemented in web_audio_api_mixer.dart or audio_element_mixer.dart.

Thanks for this great library!

karmacod3r avatar Jan 05 '17 20:01 karmacod3r

Hi, thanks for the feedback. I think you are right. I've added the pan property because it is part of the Flash API, unfortunately i was not able to implement it because the underlying APIs did not support it. At some point i forgot about it. Please give me a few days to check it again, maybe we can implement it at least for the WebAudio API.

bp74 avatar Jan 05 '17 20:01 bp74

That would be great, even for WebAudio only! While you're at it: what do you think about exposing "playbackRate" and maybe "detune" of the AudioBufferSourceNode? Especially in games they'd be extremely useful.

karmacod3r avatar Jan 05 '17 20:01 karmacod3r

Okay i will take a look at it. It's probably a good idea to add some new features to the Sound API of StageXL. It didn't get much love for a quite some time.

bp74 avatar Jan 05 '17 20:01 bp74

Any update on this?

mnordine avatar Nov 06 '18 15:11 mnordine

I have it working locally on my machine. I'll try to put in a pull request soon...

mnordine avatar Nov 06 '18 16:11 mnordine