Serial Volume Control

I wonder if you guys can make some suggestions!

I am currently designing a USB mixer for OB use. What I want to be able to do is control the volume of a Player and the IMixer Mic volume so I can have hands on faders, but no need for a proper mixer.

Currently the circuit is a simple microcontroller which outputs a value between 0-255 depending on the position of the slide potentiometer. The value is outputted through a Serial to USB interface in the following format: “v1-24I:v2-65O” (assuming fader 1 is at position 24 with the fader start button ON {I}, and fader 2 is at position 65 with the fader start button OFF {O} ).

What I would like to do is use a script to decode this string and set the volumes, and if the player is stopped and the fader start is on, then start the player.

Do you think this is possible with mAirList scripts?


USB-OB-Mixer.jpg

A script would only work if I found a way to pass the raw data received from the serial port to the script.

Thanks for that Torben. I guess the easiest option would be to have a seperate app which send data to a script.

Matt

Yes, a separate app would be the easiest solution. It can send the commands via mAirList’s Window Messages remote interface. I’ve created a similar software for eldoradio* where we run two mAirList instances on a single PC, sharing a serial connection to our D.MAX console.