Connecting TouchOSC to MaxMSP: No signal received

Nov 14, 2013 at 1:44pm

Connecting TouchOSC to MaxMSP: No signal received

Hi,

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:

OSC
Enabled: On
Host: (My computer’s IP)
Port (outgoing): 8000
Port (incoming): 9000

Options
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?

#271257
Nov 15, 2013 at 3:56am

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.

#271308
Nov 15, 2013 at 12:29pm

@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)

#271338

You must be logged in to reply to this topic.