Welcome to %s forums

BrainModular Users Forum

Login Register

OSC receive module IP pin

I need help on a Patch
Post Reply
La Tenaille
Member
Posts: 547
Location: Saint Etienne (France)
Contact:

Unread post by La Tenaille » 07 Apr 2014, 17:34

Hello,
I'd like to change all my OSC receive modules IP addresses at the same time using a text panel, but I don't know how to do that.
Can you help ?
Thanks

ceasless
Member
Posts: 330
Contact:

Unread post by ceasless » 07 Apr 2014, 18:15

Using a bus perhaps? Just have one text field going into a bus and read from that bus for every module? Latency will be one bloc size though

La Tenaille
Member
Posts: 547
Location: Saint Etienne (France)
Contact:

Unread post by La Tenaille » 07 Apr 2014, 20:58

Hi ceasless.
Two problems :

1. Buses can't carry text messages (or I don't know how).
2. the OSC receive modules IP pin format is not text (that's weird because the OSC send module IP is text).

ceasless
Member
Posts: 330
Contact:

Unread post by ceasless » 07 Apr 2014, 21:03

If you send to a databus it may come in the correct format for the receive pin. I believe usine passes strings as arrays of numbers, so maybe that is what is expected.

ceasless
Member
Posts: 330
Contact:

Unread post by ceasless » 07 Apr 2014, 22:25

This shows what I mean. Not sure if it helps in your case (haven't done any OSC yet), but I hope so.

BTW I don't think the bus is strictly necessary for the 'array of numbers' effect. The text pins make the trace show up as string but it is the same data. (someone please correct me if I'm wrong!). But for changing all the inputs at once the bus might be useful.

Image

La Tenaille
Member
Posts: 547
Location: Saint Etienne (France)
Contact:

Unread post by La Tenaille » 08 Apr 2014, 14:23

You're right, data buses can carry strings !
But strings don't work for the IP in... that said I've realised this morning I made a mistake : as explained in the wiki, OSC receive IPs are filters. If I leave it empty (0.0.0.0) the message is received.
Thanks for your help ;)

ceasless
Member
Posts: 330
Contact:

Unread post by ceasless » 09 Apr 2014, 23:23

i'm glad the attempt could travel somewhere, if it wasn't directly to Help ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 68 guests