bluefireteam / audioplayers

A Flutter package to play multiple audio files simultaneously (Android/iOS/web/Linux/Windows/macOS)
https://pub.dartlang.org/packages/audioplayers
MIT License
1.93k stars 825 forks source link

Spatial or Stereo Control for audio #58

Open pooyakhosravi opened 5 years ago

pooyakhosravi commented 5 years ago

Suggestion: to add a function to audioplayer to be able to control the balance of sound (left vs right) with simple values from -1 (left) to 1 (right). Where is the correct place to look to add the changes?

luanpotter commented 5 years ago

Hi, @pooyakhosravi

That's a great suggestion! Would make a nice addition! Would you like to contribute with a PR? It'd be awesome! :)

luanpotter commented 5 years ago

Sorry, I forgot to address your second question! Where is the correct place to look to add the changes? Well, I don't know exactly how to implement this natively on either platform, but the changes would be on:

If you have more questions regarding implementation, please let me know.

Again, sorry for not answering half your question, I was skimming fast through the issues and missed the end.

novikov-studio commented 1 year ago

Hi, added stereo balance control for Windows. Also tried to add for Linux, but can't make it to work. Maybe somebody can help with Linux support?

Gustl22 commented 1 year ago

Sorry, web, darwin and android are still missing...

emperor-limitless commented 1 year ago

So is someone working on iOS/macOS support for this or I could look into it? Not sure if I could but no harm in trying.

spydon commented 1 year ago

@mohamedSulaimanAlmarzooqi go ahead, we're always open to PRs! :)

dawsmith06 commented 12 months ago

is this working on IOS already?

Gustl22 commented 11 months ago

@dawsmith06 , seems this is not the case at the moment, we are happy about any contributions :)