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 ?
It is possible, but not with udpreceive, which is for OSC. You should try mxj net.udp.recv, or sadam.udpReceiver; they do work!
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)
anyone ? reconstituting received: 112 111 111 111 111 111 111 type things into readable data ?
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.
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...
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.