• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    UDP Listening

    How To... ?
    4
    15
    3184
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DillTheKraut last edited by

      Thanks for getting into it Juriaan!

      The pi's ar out of reach in the time being. They are proprietary coded and wont be changed in any way soon. They just sent a trigger message like "start video X". I even don't really know the exact string, but could provide a wireshark listening protocol.

      I now tried to send a TCP message from watchout to Izzi and realized, that the TCP stream has to be initialized by Izzy, is this true or do I miss something?
      As watchout/ initializing/opening its send port only when sending the message, one can't connect Izzy to the corresponding port. Isn't it possible to have Izzy just listening at a specified port accepting external connections?

      1 Reply Last reply Reply Quote 0
      • D
        DillTheKraut last edited by

        Ok, regarding to watchout documentation the UDP string ist 'run "video X"' followed by line feed + carriage return (0A 0D).

        1 Reply Last reply Reply Quote 0
        • Juriaan
          Juriaan Tech Staff last edited by

          Hi there @DillTheKraut, 

          It is possible for Isadora to listen to connections see "TCP In Watcher - Text" / "TCP In Watcher Binary" and the "TCP Stream Control.

          You need to have one TCP Stream Control actor that basically is our 'master' connection and the TCP In Watcher - Text and TCP In Watcher - Binary just parse the data.

          Isadora 3.1.1, Dell XPS 17 9710, Windows 10
          Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
          Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

          D 1 Reply Last reply Reply Quote 0
          • D
            DillTheKraut last edited by

            But you got me to the idea, that changing the plain UDP String somehow to a propper OSC message, readable by the OSC actors!?

            1 Reply Last reply Reply Quote 0
            • Juriaan
              Juriaan Tech Staff last edited by

              I'm currently working on it for you. I already got it working :)

              Isadora 3.1.1, Dell XPS 17 9710, Windows 10
              Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
              Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

              1 Reply Last reply Reply Quote 1
              • D
                DillTheKraut @Juriaan last edited by

                @juriaan wow, you are amazing! How could I thank for that!? I'm looking forward to the magic!

                But I'm curious how to use the tcp actors anyway. I already tried these, but as both listeners rely on the stream control, isn't a preconfiguered connection needed, that has to be initialized by the stream control actor? 

                1 Reply Last reply Reply Quote 0
                • Juriaan
                  Juriaan Tech Staff last edited by

                  Regarding your questions about the TCP actor.

                  The Stream Control actor establishes the connection with our web endpoint. Basically he says 'Hi there 'TCP Adress' at Port 'TCP Port', if you wish to do a handshake here am I !' The endpoint reacts with a TCP Handshake and returns his response. The response get inside our TCP In Watchers and parses to valid output

                  We intiliaze the connection with the Stream Control actor. 

                  Isadora 3.1.1, Dell XPS 17 9710, Windows 10
                  Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
                  Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

                  1 Reply Last reply Reply Quote 0
                  • Juriaan
                    Juriaan Tech Staff last edited by Juriaan

                    Regarding my solution. I came up with a idea to parse UDP packets to OSC commands. (Something that is really easy with Isadora to control was the design question). 

                    For this I used processing 3 since it has some great libraries for UDP / OSC.

                    My setup :

                    - 2 Laptops. One that was the 'WATCHOUT' or UDP sender in your setup and one laptop that is receiving (parsing the packet and sends it over to Isadora using localhost)

                    - One network switch (Gigabit)

                    Processing Patch :

                    - For this to work we need to install Processing 3. Head over to there website to install the windows version that you need :)

                    - Install the UDP library (http://ubaa.net/shared/processing/udp/) and install OSCP5 (From the included library manager, not from Google / Website. Since those are old versions..)

                    - Open up my example patch and change the Settings to your Incoming Port (Output Port of WatchOUT / UDP sender (Raspberry PIs)) and change the IzzyBridge settings to have the correct OSC port (See Isadora > Preferences > Midi / Net)

                    - Run the Processing code (IzzyBridge Processing)

                    - Go to Isadora > Stream Setup > Auto Detect Input (On)

                    - Send a command from your sender (WatchOUT / Raspberry Pis / anything basically that speaks UDP)

                    - The string that is sent with UDP now appears in the Stream Setup window

                    - We can use this string with a Text Parses in Isadora to get the necassary information from it :)

                    Like Always, if you need any help with it please let me know :)

                    Download IzzyBridge

                    Isadora 3.1.1, Dell XPS 17 9710, Windows 10
                    Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
                    Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

                    1 Reply Last reply Reply Quote 1
                    • Woland
                      Woland Tech Staff last edited by

                      Isadora Community is Best Community.

                      TroikaTronix Technical Support
                      New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                      TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                      TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

                      | Isadora 2.6.1 + 3 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s | Macbook Pro (Retina, 15", Mid 2015), macOS 10.11.4, 2.8GHz Intel Core i7, 16GB RAM, Intel Iris Pro 1536 MB |

                      1 Reply Last reply Reply Quote 3
                      • J
                        jandraka last edited by

                        Hi,

                        Maybe this small application helps: UDP-TCP Bridge

                        Best

                        MBP 2017, Quad-Core Intel Core i7 3,1GHz, 16GB, Radeon Pro 560 4GB. OSX 11.6.2 Isadora 3.2.5

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post