osc / udp beginner — how do i start?

benniy's icon

hello folks.

i'm an absolute max + osc beginner and i'm trying to control some parameters on my behringer x32 mixer. it's connected via a network cable. i have its ip and the port on which it receives — furthermore i have the OSC parameters. it's driving me nuts, because i have no clue how to connect to it, neither do i have a way to see if my udpconnection is even established..

can anybody give me a starter? attached is my embarrassing achievement so far :)

thanks a ton!

Screen-Shot-2014-03-06-at-6.54.29-PM.png
png
Cphas's icon

Shouldn't there be a space rather than a slash before the argument? (the zero?)

benniy's icon

thank you, but no, this didn't solve the problem ://
any other idea?

pdelges's icon

Did you try to send a float rather than an int?

/ch/01/mix/mlevel 0. (note the dot after the 0).

Did you try /main/st/mix/on ON or /main/st/mix/on OFF

p

benniy's icon

OMG! you genius! you did it :) i muted the channel on my behringer x32.
thanks so much — i've been spending a whole day with this.

now, as you obviously know what i'm trying to do:
is there any way to read out the current state of a parameter via UDP / OSC ?

thanks again & again.

pdelges's icon

Don't think I know anything about the X32, I didn't even know it could communicate with the OSC protocol before I read your post. As I was curious about those features I just opened the online X32's OSC manual and had a look.

As far as I understand it, if you send /main/st/mix/on (without any parameter), you should receive an answer (use udpreceive 10023)

benniy's icon

apparently you still know more than me, who owns the thing :)

the receive-part doesn't seem to work.. any clue what i'm doing wrong?
thank you!

Screen-Shot-2014-03-07-at-12.55.58-PM.png
png
pdelges's icon

Did you try without the ending slash?

benniy's icon

yes.. also tried "OSC-route" instead of "route"-object. and tried without any routing, too. this didn't work either.

gregorbaumann's icon

Kind of an old problem. There is a generation of OSC servers that replies to the port from where the query was sent. And there is no object in max (maybe something like the Puredata mrpeach udpsndrcv has been created since I had this problem, too) that allows the user to set the outgoing port of a udp message.

sonichel's icon

this is what I have been able to control from max to X32, but I can not receive in Max what comes from X32. You have achieved that?

Max Patch
Copy patch and select New From Clipboard in Max.

benniy's icon

hei sonichel,
a bit in a rush right now – yes, i got this to work. after, eehm... a year of struggle! :)
you will need sadam's udp externals ... see if the screenshot helps you setting things up.

sonichel's icon

Woooow thx Benny!! Great, it works perfect !!!! I have controlled several parameters so far, but I can not control the solo of each channel. Do you have any idea of that?

benniy's icon

happy to hear :)

I have controlled several parameters so far, but I can not control the solo of each channel.

it's been ages, but i very vaguely recall having had a similar problem – and worked around it by muting all other channels :> guess that doesn't help too much...

sonichel's icon

thanks, it's a good idea !!! One last question, it is possible to assign by a textedit object the ip address of X32 to the object "sadam.udpClient 192.168.0.41" ??? I think that would be great to reassign in a standalone app.

benniy's icon

i dont know... best check the help or write siska adam an e-mail – he's very helpful.