jarikomppa / soloud

Free, easy, portable audio engine for games
http://soloud-audio.com
Other
1.69k stars 270 forks source link

Option to define stereo width #297

Open klein-j opened 3 years ago

klein-j commented 3 years ago

I assigned a 3D sound to a large building. Attenuation works as I would expect it, I seem to have good control over the sound volume for different distances.

However I found no option to set what I would call stereo width. The sound seems to either come from the left or the right speaker. If I am directly above the building but slightly left from its center, I would want the sound to come say 70% from the left and 30% from the right speaker. Instead, the sound switches pretty rapidly from one to the other speaker. The minimum distance value does not seem to influence this behavior and besides I already fine tuned it so that I am happy with the volume,

Thus I think there should be an additional parameter to give control over this stereo width. I could not find anything like it in the documentation.

BrothaOnAcid commented 2 years ago

i miss this feature. would be handy for 3d background ambiences ! i'd call it '3d weight' or something like that. 0.0 - just plays like 2d 1.0 - fully directional (default)

anyway thanks for the lib

DarkCode-pixel commented 1 year ago

Hi I am lakshmanan please clear my doubt. If I include the soloud my project is giving error compilation error. I downloaded latest version. What can I do I want to use this library to my c++ game project. I think the developer didn't include the correct file .that file around 1000 of files available. I cannot rearrange the thousands file

On Tue, 28 Jun 2022, 03:54 BrothaOnAcid, @.***> wrote:

i miss this feature. would be handy for 3d background ambiences ! i'd call it '3d weight' or something like that. 0.0 - just plays like 2d 1.0 - fully directional

anyway thanks for the lib

— Reply to this email directly, view it on GitHub https://github.com/jarikomppa/soloud/issues/297#issuecomment-1167984355, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUT72PX2G253ZZ6HVJ7AEFDVRIS2JANCNFSM4R3GF6OA . You are receiving this because you are subscribed to this thread.Message ID: @.***>