PDA

View Full Version : [OpenAL] no sound decay over distance



chronozphere
09-12-2007, 07:02 PM
Hey guy's

I was wondering whether this is possible. I want to play all sounds with the same volume, regardless of the dinstance to the listener. So that only the direction where the sound is comming from remains.

Any suggestions how to achieve this?

Thanx a lot

JernejL
09-12-2007, 07:19 PM
By having the sources near the listener at constant distance but different location around it..

chronozphere
09-12-2007, 07:57 PM
Okay.... i thought that maybe there was some kind of parameter which allowed us to remove the decay, no matter what the distance to the source is (without affecting the position vector).

But your idea is a very simple and effective one, i'll implement it.. thanx ;)

JernejL
09-12-2007, 11:07 PM
Okay.... i thought that maybe there was some kind of parameter which allowed us to remove the decay, no matter what the distance to the source is (without affecting the position vector).

But your idea is a very simple and effective one, i'll implement it.. thanx ;)

AL_ROLLOFF_FACTOR or AL_CONE_OUTER_GAIN perhaps?

chronozphere
10-12-2007, 01:26 PM
Yeah, might be. But i need proper documentation on those. :?

I've got the OpenAL programmers guide, but they aren't explained very well in that doc.

Any links?