Advertisement

OpenAL low volume

Started by July 31, 2004 09:42 AM
2 comments, last by JonnyQuest 20 years, 3 months ago
Hi When i sue OpenAL i have a very low volume compared to the Windows Media Player for example. I get only acceptable results when i change the speakers amplifier but then when i came back to WIndows a simple Windows sound can be heart 100m awy... I have set both GAIN (source and listener) to 1.0f and the position of listener and source are nearly equal what can be the problem? thx einKI
- See if it's a general OpenAL problem by running one of the many OpenAL examples out there, e.g. from the Creative Audio SDK.
- Make sure your distance attenuation is set up correctly.

~phil
~phil
Advertisement
Hi

I have set the rolloff factor to 1.0f and that work not very good
now i have

    alSourcef (Source, AL_ROLLOFF_FACTOR,  0.25 );   


it sounds not bad but i do not know what value here is physicaly correct. It should sound similiar to reality and i do not know
how i can proove that with a gun shot or an explosion.

by
einKI
In audio programming, you 'fudge it' a lot of the time. As long as it sounds right, it is right, for most people.

Your exact attenuation setup, etc. will depend on what kind of set of units you're using in your game, and what the meaning of the distances, velocities, etc. that you pass to OpenAL are.

~phil
~phil

This topic is closed to new replies.

Advertisement