Page 1 of 1
Controlling Arena over Ethernet?
Posted: Sat Oct 09, 2021 06:28
by djsky
Is there a way I can control basic elements of arena over Ethernet?
I know about artnet control, but I want to be able to trigger clips from a hardware based control system… like crestron/Kramer/Philips Pronto.
Or is my only option some sort of Rs232/Ethernet to midi converter?
Re: Controlling Arena over Ethernet?
Posted: Sun Oct 10, 2021 11:20
by Zoltán
Re: Controlling Arena over Ethernet?
Posted: Sun Oct 10, 2021 11:35
by djsky
Ok, yeah, that looks like it could work….
I see I can set the Osc receiving port .. 7000 I guess I just send the relevant command over TCP to that port on the arena’s IP address? Is there a requirement for the end of message? Carriage return/line feed?
Re: Controlling Arena over Ethernet?
Posted: Sun Oct 10, 2021 12:22
by djsky
It’s ok, I’ve nailed it.
I have to send the commands as UDP to the receiving port (default 7000) and the commands have to be 32 bytes long, so have to add 00 hex bytes to make the complete string 32 bytes total….
Eg: /composition/columns/1/connect is only 30 characters (or bytes) in length, so I add two hex characters (00) to make it 32 bytes/characters long.
Cheers guys.
Re: Controlling Arena over Ethernet?
Posted: Sun Oct 10, 2021 12:36
by djsky
Ok, I’m stuck again….
I see that for example “autopilot” says it has “osc type tag of int 0 through 3”….
Autopilot command is:
/composition/layers/1/autopilot
This takes up 31 bytes already…. But how do I send the integer 0-3 after it?
Re: Controlling Arena over Ethernet?
Posted: Sun Oct 10, 2021 16:07
by djsky
I can’t find anywhere that shows an example of how to send these “integers” over udp.
Ive tried:
/composition/layers/1/autopilot i 0
/composition/layers/1/autopilot, i, 0
And all sorts in between.
Resolume osc monitor shows the above being recieved, but nothing shows in the “value” column…. Nor does it take action on the autopilot control.
I can’t find anywhere online that I can understand, or any basic examples of what to send.
Re: Controlling Arena over Ethernet?
Posted: Mon Oct 11, 2021 09:06
by Zoltán
The OSC messages are a special type of UDP (or TCP ) packets.
You can read more about the format here:
http://opensoundcontrol.org
Re: Controlling Arena over Ethernet?
Posted: Mon Oct 11, 2021 11:11
by djsky
Yep, I’ve read all that, but am still confused. I just need someone to show me an example of the code to send with the integer and type at the end of it, and I’ll be sorted.