TP Design and Negitive Levels
dthorson
Posts: 103
I just noticed that I can no longer receive a negative value from a bargraph. This used to save me a lot of time when coding volume controls for devices that like negative numbers (Clearone?s) especially.
I swear I just did this a few weeks ago on a MVP-8400 with the 2.70.?? Firmware. Now with a MVP-8400i with 2.81.21 I can only get levels from 0-255. TP Design still lets you put in a negative number in the (Range High or Range Low) but when it time to send the master a negative value it jumps to 255.
This is frustrating, just when you find a good short cut it gets taken away. The 0-255 is bringing me back to the G3 days, and now I have to write extra code to account for negative values. Although the code is easy to write, it?s just sloppy.
Anyone having these problems or know what happen to the negative values?
My fear is that in the future if the panel is serviced and swapped out with a newer panel things will not work right.
I swear I just did this a few weeks ago on a MVP-8400 with the 2.70.?? Firmware. Now with a MVP-8400i with 2.81.21 I can only get levels from 0-255. TP Design still lets you put in a negative number in the (Range High or Range Low) but when it time to send the master a negative value it jumps to 255.
This is frustrating, just when you find a good short cut it gets taken away. The 0-255 is bringing me back to the G3 days, and now I have to write extra code to account for negative values. Although the code is easy to write, it?s just sloppy.
Anyone having these problems or know what happen to the negative values?
My fear is that in the future if the panel is serviced and swapped out with a newer panel things will not work right.
0
Comments
I remember the ClearOne XAP400/800 present a little problem in that the box can send you a level of both "0.0" or "-0.0" depending upon which way the ramp is heading.
I take the data string in and do a set of conditionals to determing the level coming back. I don't have the code in front of me at the time. So my actual numbers may be off but here's the theory
I think levels go from -77 to +15. In addition there is a 'min' which means infinty and a 'max' which means +16. Ther is also a zero.
So, (assuming my numbers are correct) there are 95 steps in the scale from lowest to highest.
What I do is add an offset to keep the volume always positive, add the conditional that deals with it being 0 or -0, do the cross multiplication and send the fader level to the touch panel from 0-255.
The reason I don't change the level ranges in TP design is that I can change out a peice of gear without having to reprogram the touch panel.
exactly my point, but i didn't want to type a long story like you did
I don't send a ramp command, I just send the level of the bargraph of the TP.
This is why using a negative value was so helpful. Just in the level_event send that current level to the clearone.
I know the work arounds for codding with an offset is easy to do, and I'm doing that.
I was just curious if anyone was using the negative levels from TP's or am I the only one.
Thanks.
Fair enuff. I must admit... I'm way too right-brained to be an AMX programmer
This is all the code I used when negative levels was working.
http://www.amx.com/techsupport/techNote.asp?id=765
I would prefer that they keep the levels negative working, and if you are doing M2M say it's not supported.