Fader value TCP command
Posted: Tue Dec 19, 2017 8:13 pm
Hello,
I'm trying to control an audio system from WD. I've been successful in sending strings to trigger Boolean commands like play, stop, mute etc. However I would like to incorporate a volume fader on the WD page now. I was wondering how I could assemble a string that could incorporate a variable fader value. i'm quite new to WD so forgive my ignorance please.
More info on the audio control protocol here - http://q-syshelp.qschome.com/Content/Ex ... otocol.htm
The string format for triggering "buttons" is as follows - {ct AudioMute [CR LF]} - ct meaning "change trigger", AudioMute being the control name and carriage return/line feed. To change the fader's value I can do this in a number of ways, either send a dB value or a relative position if the fader from 0 to 1 (0db on the fader taper is roughly 0.75). Lets assume we use position, the string the audio system would need to see is {csp FaderName value [CR LF]}. Can you advise how to set this up?
Also, the next step would be to get bidirectional positions as their are other control methods (snapshots etc) in place for these values and it would be good to have the current value reflected on the WD page. The device will send the following in response - {cv "FaderName" "20.0dB" 20 1} - values are listed in 3 ways - value, string and position of the control. How would I process this data back into the fader on the WD page?
Hope this explanation is clear enough.
Thanks and best regards,
Nathan
I'm trying to control an audio system from WD. I've been successful in sending strings to trigger Boolean commands like play, stop, mute etc. However I would like to incorporate a volume fader on the WD page now. I was wondering how I could assemble a string that could incorporate a variable fader value. i'm quite new to WD so forgive my ignorance please.
More info on the audio control protocol here - http://q-syshelp.qschome.com/Content/Ex ... otocol.htm
The string format for triggering "buttons" is as follows - {ct AudioMute [CR LF]} - ct meaning "change trigger", AudioMute being the control name and carriage return/line feed. To change the fader's value I can do this in a number of ways, either send a dB value or a relative position if the fader from 0 to 1 (0db on the fader taper is roughly 0.75). Lets assume we use position, the string the audio system would need to see is {csp FaderName value [CR LF]}. Can you advise how to set this up?
Also, the next step would be to get bidirectional positions as their are other control methods (snapshots etc) in place for these values and it would be good to have the current value reflected on the WD page. The device will send the following in response - {cv "FaderName" "20.0dB" 20 1} - values are listed in 3 ways - value, string and position of the control. How would I process this data back into the fader on the WD page?
Hope this explanation is clear enough.
Thanks and best regards,
Nathan