0
0

Hi everyone.

Let’s say I have a 3d landscape with sound sources and a listener. Sound attenuation takes place according to given parameters and custom DSP’s are in the pipeline. A pretty normal setup.
I would simple like to measure the perceived volume of a sound, check if it’s within a certain range, and set the perceived volume to a value if it’s not.
Ex. a sound propagates in the landscape and it’s characteristics alters due to occlusion and such, and finally it reaches the listener. The sound must have a loudness of 40dB when user hears it, and therefore the volume is set according to this.

So, my question is, is there a simple way to set the volume that the listener hears for a 3d sound?

  • You must to post comments
0
0

I think I’ve done something similar by using the 3d rolloff callback, and using similar formula’s to firelight, I could calculate the attenuation volume, and work with the initial volume to find a ‘current’ volume.

Is that any help?

  • You must to post comments
0
0

Hmm yeah, that seems like one way of doing it. Guess I can’t have any occlusions lowering the volume of the sound then? … or perhaps I can, but I just have to keep track of each alternation of the sound’s volume that takes place, and then as you say "calculate backwards" and set the volume accordingly.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.