Control Madmapper via UDP
  • 235media
    junior Member
    Posts: 8
    Joined: Mon Apr 09, 2018 2:11 pm

    Control Madmapper via UDP

    by 235media » Tue Sep 04, 2018 11:48 am

    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
  • mad-matt
    garageCube team
    Posts: 790
    Joined: Mon Sep 09, 2013 5:50 pm

    Re: Control Madmapper via UDP

    by mad-matt » Tue Sep 11, 2018 11:46 am

    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
  • bLackburst
    member
    Posts: 43
    Joined: Tue May 31, 2011 8:45 am

    Re: Control Madmapper via UDP

    by bLackburst » Tue Apr 09, 2019 8:15 am

    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?
  • mad-matt
    garageCube team
    Posts: 790
    Joined: Mon Sep 09, 2013 5:50 pm

    Re: Control Madmapper via UDP

    by mad-matt » Tue Apr 09, 2019 10:25 am

    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
  • bLackburst
    member
    Posts: 43
    Joined: Tue May 31, 2011 8:45 am

    Re: Control Madmapper via UDP

    by bLackburst » Wed Apr 10, 2019 5:57 am

    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.
  • bLackburst
    member
    Posts: 43
    Joined: Tue May 31, 2011 8:45 am

    Re: Control Madmapper via UDP

    by bLackburst » Wed Apr 10, 2019 2:03 pm

    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.
  • mad-matt
    garageCube team
    Posts: 790
    Joined: Mon Sep 09, 2013 5:50 pm

    Re: Control Madmapper via UDP

    by mad-matt » Sun Apr 14, 2019 11:41 pm

    Did you try to use Wireshark and compare the UDP packets sent to MM ? You can set a filter on the port number.

Who is online

Users browsing this forum: No registered users and 2 guests