I’m working on a serious-game, where we have to do some exact audio measurements.
What I have is an audio file with a reference decibel value. So if I play this audio file with the volume of the audiosource set to 1, I should have an output decibel value of the reference value.
Now I want to reduce the volume by let’s say 20 decibel. How would I do that?
My guess was doing it with the formula:
volume = referenceValue / wantedDecibel
I got the following result (software value / measured millivolt / measured decibel):
Does anyone know what exactly the formula behind the volume 0…1 of an audiosource is? and how I could convert it to decibel values if I know the maximum decibel value of the soundfile?
I would appreciate if you comment any thoughts and guesses on the matter
thanks & cheers