I’m in a college class that relies heavily on MaxMSP, and I’m trying to connect TouchOSC on my iPhone to my patch. My professor gave us a patch that should be working and relies only on the "udpreceive" object. However, I’ve tried a lot of different things and I can’t seem to pick up the signal from my phone. (The phone definitely seems to be sending one, as the upper green light in the corner of the TouchOSC app keeps lighting up.) The udpreceive object is not outputting any messages.
My phone and my computer are on the same (private) network. I’m receiving to port 8000 ("udpreceive 8000"). Here are my settings on TouchOSC:
Host: (My computer’s IP)
Port (outgoing): 8000
Port (incoming): 9000
Send ping (/ping): On
Accelerometer (/xyz): On
Touch Messages (/z): On
(This is the configuration my professor specified when he explained to us how to use the patch)
I made a smaller test patch that just consists of "udpreceive 8000" connected to a "print" object and a single gigantic button, just to test the most basic possible case. The button isn’t flashing and nothing is being printed… so I’m stuck. Can you think of anything I’m missing?
Your incoming and outgoing port number have to be the same with udp objects.
If touchOSC sends out of port 8000 then the incoming port has to be set to 8000 as well.
@Andro: Do you mean udpreceive has to be receiving on the same port that my phone is sending from? Or that the ‘outgoing’ and ‘incoming’ ports in the OSC app should be the same?
OSC on my phone is sending to 8000 and updreceive in Max is receving to 8000. OSC gives me an error if I set both the outgoing and incoming ports to 8000 (Values in fields ‘Port (outgoing)’ and ‘Port (incoming)’ cannot be the same)
C74 RSS Feed | © Copyright Cycling '74