Soundweb London Interface Kit Gain control
peter65
Posts: 4
Hello,
I have read that a Gain of -10 is 0xFFFE7960. I can agree, it is -100.000. But if I take the Message Tool and try -11 for gain I will get 0xFFFE5909. This is not -110.000 but -108.279. If I take 11 as Gain I get 110000. Can any body tell me whats going on?
Peter
I have read that a Gain of -10 is 0xFFFE7960. I can agree, it is -100.000. But if I take the Message Tool and try -11 for gain I will get 0xFFFE5909. This is not -110.000 but -108.279. If I take 11 as Gain I get 110000. Can any body tell me whats going on?
Peter
0
This discussion has been closed.
Comments
page 22
If the value is equal to or above -10dB:
ValueToSend = dBValue * 10000
If the value is below -10dB, then the formula is:
ValueToSend = ( -Log10( Abs( dBValue / 10 )) * ( 200000 )) – 100000
where Abs takes the absolute value - i.e. it drops the minus sign.
Dan
(DI_SETSVPERCENT ftw)
I got a document with only 15 pages. Must be very old. Now I got one whith 91 pages, much better.
On my pc I must do the calculation with 100001, not 100000, to get the right bytes: -log10( abs( $val / 10 )) * 200000 - 100001
An now there is an other problem. If I set -80 => 0xFFFBB7D6, I get back 0xFFFBB7D7 on subscribe. The same is in message tool. A manually subscription gets D7 not D6. But a second client has subscribed the adr before got spontaneously 0xFFFBB7D6. What game is this now?
Peter
Dan
Thank you very much for fast help!
Peter