Author Topic: BASS_ChannelGetLevel()  (Read 3649 times)

Igor

  • Guest
BASS_ChannelGetLevel()
« on: 12 Jun '03 - 20:45 »
The BASS_ChannelGetLevel() returns a number between 0 and 128
Is there a way to convert this number to dB?

The_TriggerZone1

  • Posts: 4
Re: BASS_ChannelGetLevel()
« Reply #1 on: 12 Jun '03 - 21:06 »
If seen some programs define the level 100 to be 0dB. But in my opiniun this is wrong becuase the dB is something that changes when you turn the volume of your sound card/stereo up.

Some also define the maximum as 0dB.

And BTW these values can also be seen as an offset of the real dB values outputted by your soundcard/stereo.

Hope this helps a bit.

Greetings me.

engineeer

  • Posts: 86
Re: BASS_ChannelGetLevel()
« Reply #2 on: 13 Jun '03 - 12:50 »
dB = 20 x log (V1/V2)

In this case:
dB = 20 x log (Volume/128)

Igor

  • Guest
Re: BASS_ChannelGetLevel()
« Reply #3 on: 13 Jun '03 - 18:24 »
Thank you engineeer