Getting Max to communicate with other software via UDP/TCP etc

May 14, 2013 at 1:03am

Getting Max to communicate with other software via UDP/TCP etc

I am trying to get max to communicate with another program via UDP – except it says it cant because the other program is putting out a message which is, and I quote , “not a multiple of 4 bytes” – I guess this is because it needs to be converted to OSC prootcol first – anyone know how to do this ? I have also tried sadams TCP object but it only takes the data when I stop the other program. Basically I want to stream a set of values in realtime from a program called labview into max and then use past to trigger a sound when the values pass a certain value. Any ideas on the best way to do this – is there an intermediarry program to convert udp to this osc protocol max understands – suggestions ?

May 14, 2013 at 1:42am

It is possible, but not with udpreceive, which is for OSC. You should try mxj net.udp.recv, or sadam.udpReceiver; they do work!

May 17, 2013 at 3:00am

Thanks Patrick, I think Ive got the Sadaam thing working now – so how to I convert the series of numbers such as these : received: 112 111 111 111 111 111 111
into the original values they were (or scaled version)

May 21, 2013 at 6:54am

anyone ? reconstituting received: 112 111 111 111 111 111 111 type things into readable data ?

May 21, 2013 at 8:02am

What are thr original values? Looks like poooooo to me. If what you’re sending from the other app. are ASCII values, the itoa may be the object you’re looking for.

May 21, 2013 at 8:03am

BTW, this edge/beta forum is probably not the best place to post this type of questions… This may explain why nobody answered so far…

May 21, 2013 at 8:16am

er – it was moved here by an admin (I presume) – I posted it originally in the max msp forum.
Not sure what protocol “udp send” uses in Labview ….. Ill try and find out. The original values were random letters tapped out on my keyboards and the numbers 0 and 1.


You must be logged in to reply to this topic.