Page 1 of 1

Add/Remove Inputfield dynamically

Posted: Sat May 26, 2012 12:25 pm
by cogitator
I'm currently editing the OSC Global Plugin. I want to send the OSC Messages to multilpe IPs.
Is there a way to dynamically add and remove Inputsfields in the Plugin to enter and remove IP-Adresses.

Thank you for your support.
David

Re: Add/Remove Inputfield dynamically

Posted: Sun May 27, 2012 11:46 pm
by The Midi Thief
Not really. You should probably use a list under the Text Controls in the Editor. But that just allows for one value and you have two, the IP and the port number. Either you can have two lists or have two values on one line, dividing them with a pipe or something (192.168.178.22 | 8000). Look at the BPM Router Layer Module to see how I mean with adding values dynamically in a text list.

Re: Add/Remove Inputfield dynamically

Posted: Sun May 27, 2012 11:53 pm
by The Midi Thief
Do you have it working sending to several different IPs? Do you really need that? Are you sending different things to all the other IPs or why can't the other apps listen to the same IP/port?
I must admit that it was a while since I messed around with the OSC module (http://themidithief.com/2011/01/ableton-live-modul8/) so I might thinking backwards.

Re: Add/Remove Inputfield dynamically

Posted: Sat Jun 02, 2012 10:41 pm
by cogitator
Hey MidiThief. Thank you for your reply. I got it working with several IPs. I am not very familiar with networkstechnics, but how can i make the multiply slaves listen to one ip adress/port?
I just got it workin with this: I wrote all IP Adresses of the slaves into one textfield, then i split them. On every periodical event the position of my video will be send to the slaves and they sync it with their videos.