Volume Ramping
vining
Posts: 4,368
The volume ramping issue that I've noticed in the standard netlinx module I believe is when coming off of mute. Which makes sense because for some odd reason MA assigns the value of 101 for mute. An accident waiting to happen! I can only assume that in the comm module when the MA returns the 101 vol value the comm module stores that as the current volume level and then and if(vol == 101) mutes button feedback turns on. Now if you push the vol down button and send the command decrement vol -1 now we've acheived 100% volume. Oops! If the MA returns a volume value of 101 it should not be stored as current volume value but as nMA_Mute = 1 or something.
Of course we'll never know what actually goes on in the comm module so this is just an assumption. The only thing I know for sure is that sooner than later some speakers are going to blow and/or some customers are going to be very annoyed from a very loud and rude awakening.
Of course we'll never know what actually goes on in the comm module so this is just an assumption. The only thing I know for sure is that sooner than later some speakers are going to blow and/or some customers are going to be very annoyed from a very loud and rude awakening.
0
Comments
Vining, which equipment are you making reference to?
I know that is some spag code, but it does work. If you are looking to get feedback from the device, in your string handler you could do something like this:
Of course you would want to store your volume levels in some sort of array, and you would want to parse the incoming string for the zone on the switcher as well as put in a switch command for different types of incoming feedback. But that is a start.