Forums > MaxMSP

Touch OSC

Oct 19 2009 | 8:11 pm

I am trying to create a project that allows me to interface with my computer using my ipod touch and the application Touch OSC. I have already bought OSC and have downloaded OSCulator and MaxMSP. So far I have been able to get Max MSP to communicate with the computer and change the sliders and dials on the itouch but I am having trouble to get it to work the other way around? Does any one know why this might be occuring?

Oct 20 2009 | 12:09 am

I assume that you have gotten the CNMAT objects?

If not, at the above link, get the link labeled "Everything for Max OSX (Mach / Universal Binary)". Unzip the files and then placed them into Max5’s path. If you put them into the "/Applications/Max5/patches/" folder, it should work.

You will want to make sure that the "outgoing" port on TouchOSC is set to the same value as the port set in the
[udpreceive] object in Max.

Also, you’ll want to get the computer’s IP address and make sure that this IP address is in the "Host" setting for TouchOSC.

After getting the IP address to correspond to the "Host" setting, try setting the Port (outgoing) in TouchOSC to something like 8002, and then create a new patcher that looks like this:

[udpreceive 8002]
[print OSC]

When you move a slider in TouchOSC, the Max window should print a message.

Then, try out some of the pre-made Max patches at:

Hope this is helpful,

Oct 28 2009 | 6:44 am

thanks! that works!

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP