Clearone Level 2 TP Bargraph
avi_dave
Posts: 62
Since the clearone calculates all its ramping and gaining on a "DB" figure how should I throw this value to a TP bargraph I know there is some setting and or formula involved
level_event [dvClear1,1]
{
ClearVolResp = Level.sourcedev
send_level dvTP, 1, level.value
}
I get a error on compile, convert type dev to integer
level_event [dvClear1,1]
{
ClearVolResp = Level.sourcedev
send_level dvTP, 1, level.value
}
I get a error on compile, convert type dev to integer
0
Comments
The compile error is probably because of
ClearVolResp = Level.sourcedev
The RHS is a device, presumably the LHS is not.
Here is my code to adjust from the ClearOne AP800's range of -20..+20 to a range of 0..255
However that's the wrong direction. I haven't yet had to code SignedAdjustTo255 but here is the unsigned version: