Page 1 of 1

Control Madmapper via UDP

Posted: Tue Sep 04, 2018 11:48 am
by 235media
Hi there,

i would like to know if it is somehow possible to control Cues in Madmapper via UDP commands from a Brightsign Media Player.

I would like to trigger some Cues with a Brightsign connected to a Toucscreen.

Thanks in advance

Re: Control Madmapper via UDP

Posted: Tue Sep 11, 2018 11:46 am
by mad-matt
You can send OSC packets via UDP to control any parameter of MadMapper, including Cues. You can even request using OSC Query (HTTP server) the list of adresses available in MadMapper (& information like current value, value type & range etc): https://github.com/Vidvox/OSCQueryProposal

Re: Control Madmapper via UDP

Posted: Tue Apr 09, 2019 8:15 am
by bLackburst
Hi Matt
I'm interested in this too. Tbh i've not got a handle on exactly how to structure an OSC packet out of a plain udp string command(which Brightsign players, watchout, e2 etc will send). For instance, I'm assuming just sending a UDP string of the OSC address is not going to work, for example "medias/LineRepeat/assign\r\n". How might one go about triggering MM from hardware/software that only has udp string support rather than OSC?
Would it be a case of MM having to listen to plain UDP strings, or is there a way to manually construct an OSC packet with a string? Am I just thorougly confused?

Re: Control Madmapper via UDP

Posted: Tue Apr 09, 2019 10:25 am
by mad-matt
OSC is great and solves many issues. We won't redifine an UDP protocol to send a value (with different possibles types) on an address, since that's exactly what OSC stands for.
Check the spec here to know how to format the UDP packet: http://opensoundcontrol.org/spec-1_0

Re: Control Madmapper via UDP

Posted: Wed Apr 10, 2019 5:57 am
by bLackburst
Thanks, I've seen the spec but that doesn't make it any more convenient.

Millumin and Qlab for instance have implemented this "UDP strings as OSC commands" because there is the need in the production world where nothing much supports OSC. Things like Barco EventMaster, Christie Spyder, Dataton Watchout, BrightSign etc to name a few are unlikely to ever support it.
So yeah, I'm sure there could be ways to kludge together strings in unreadable forms to create OSC messages, but I'm seconding the opinion that UDP control would be very appealing.

Re: Control Madmapper via UDP

Posted: Wed Apr 10, 2019 2:03 pm
by bLackburst
I've just spent a couple more hours on this and it's a clearly ambiguous format to get right consistently.

I've learnt that the udp string "/medias/Clouds/assign\00\001" sent from one source triggers the "Clouds"media, but the same udp string sent from other sources("packetSender" for example) doesn't, EM too. Perhaps there are header differences etc I don't know. I do understand that null chars are application and OS dependent but this is beginning to be a rather cryptic, frustrating thing. Perhaps GarageCube could provide an example UDP string or two that works with MM so we can integrate it in the ways we need. Like the way lighting console fixture profiles for MM are valued, I suggest that other integration techniques into video systems are validated and published.

Re: Control Madmapper via UDP

Posted: Sun Apr 14, 2019 11:41 pm
by mad-matt
Did you try to use Wireshark and compare the UDP packets sent to MM ? You can set a filter on the port number.