How much equals the values for frequency gain in “dB” is 3.0 like +12dB or?

[i:3p6k2edj]Frequency Gain. 0.05 to 3.0. Default = 1.0[/i:3p6k2edj]

- Ken asked 11 years ago

- You must login to post comments

I know this is a month old, but I would like to know the answer to this question.

- Jimbo answered 11 years ago

- You must login to post comments

If fVolume is the volume returned from 0 to 1.0…

fDB = 20.0f * log10(fVolume);

- Anonymous answered 11 years ago

- You must login to post comments

[quote="brett":2t7etmud]im pretty sure if you base it on 6db increments it is 0db = 1.0, and 6db = 2.0 and 12db = 3.0. -96db = 0.0 from memory.[/quote:2t7etmud]

Since i am now playing with db-gain convertion i would like to wake up this topic

If the gain property is linear and 2 means twice as loud then we can use the function kumputer has above to calculate correctly the db amp.

BUT, i think that brett is wrong in the +12db since gain=3 (3 times louder than normal) is 9.54db (in real, and we can also find it using kumputers equation).

Is this right ?

If the 2 in gain means twice as loud and 3 means three times louder then this is the correct method to calculate gain in db.

If 3 in gain means +12db though we need to calculate it using a different function.

Now, which is corect ?

๐

PS.

Since it’s my first post i would like to thank ALL the FMOD develophers that gave me the opportunity to use this amazing sound engine to my opensource programs ๐

- JouS answered 11 years ago

- You must login to post comments

**Your Answer**

Please login first to submit.