TouchOSC and Max5.1 not working?
I have been having trouble getting Max5.1 to receive any data
from TouchOSC. Can someone please confirm whether or not
there is a problem. I am using the latest TouchOSC running
on iPhone OS 3.0. I am running one of the demo patches from
the TouchOSC site.
I am using TouchOSC with Max5.1 with no problems at all.
http://www.youtube.com/watch?v=GQCm4W1otR8 for proof if you need it :)
Are you sure you are setting the [udpreceive] port number to match the TouchOSC transmit port?
Also, can you ping your iPhone’s IP address from the machine you are running Max on?
I can indeed ping my iPhone from my laptop. The problem seems
to be my connection in Max. I did make sure I am listening to
the right port. The default port that TouchOSC sends on is 8000.
But no data comes in…
Eddy, what is your setup like? OSC external, iphone version,
laptop OS, etc.
I am running Max5.1 and TouchOSC with no problems at all. I have a MacBookPro running OS 10.5.8.
Have you tried the "Basic.maxpatch" file?
1) your laptop and iPhone are on the same network,
2) the "host" field in the the TouchOSC app has the correct IP address for your laptop. It should be the same as the IPv4 address of your laptop (find this by selecting "network" in the system profiler).
3) the port (outgoing) value should use the same number as the argument to [udpreceive] in the maxpatch.
Hope this helps,
One more thing, I assume that you have downloaded the CNMAT files and placed them in Max’s path.
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.
Hope it helps,
In response to "Eddy, what is your setup like? OSC external, iphone version, laptop OS, etc. "
I’m running OS X 10.6.2 running on an 8 core Mac pro. I used an iPod Touch in the demo (latest available version of the firmware) and I tested it on a friends iPhone also (he updates the firmware regularly so pretty sure that’ll be the latest version too).
I don’t use any externals at all. I use a [udpreceive] object in Max 5.1 (I have the iPhone set to transmit on port 7000 as it happens, but I also have a settings subpatch in presentation mode to configure that port at the Max end during runtime) and process the incoming osc using [gate] objects and [route]. It works perfectly for me – I’m sorry I’m not sure what is going on at your end there!
What happens if you try this?
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 273.3ocqRErSCCCC8bxWQTNWpRKSSLtg3CfC6HZBk0DXF05T05NJLs+cZRSE s.RfDbwR44m86YGehyj6c81Vo3Zw8BF6DmwBPd.V7MSVo6KJ0sAZRz9ha+yx jwTjsmBv0M.Rh61d6TFrqBvRKEpJKB9nCITWYCkbSCnKmQ20QS7UQzZMUb.v mdnwVPitLSsJUkH1r1GWeoOlqRUhcwR.Sn4Cd7hb4LYag2Bxlkmp7nm4beH4 uM1cl5AqYgiVwUJk5eY3y9wgekJrB17kgerKzq01Q9R42sWx9E6kPcxR.+70 QvUd7kKqVWWSwjpQQDeXLisk.TSfCmwIeAmCfwXw4e+Ufo1MbWEsfX2BCxOy eGfLKJpi -----------end_max5_patcher-----------
Hey Eddy, I was about to send you guys the exact same code snippet.
The above snippet DOES NOT work for me. I am running Vista (SP2),
Max5.1, iPhone 3.0, latest TouchOSC. TouchOSC used to work fine
before I upgraded to Max5.1.
My guess is the windows build of Max5.1 has a problem.
Can someone with a windows setup confirm this?
Can someone with a windows setup please try this…
Can someone with a windows setup please try this…
it works fine.
Maybe you have a firewall on?
I am on a windows machine as well
and also in trouble, that’s how I
found your topic. The strange thing about
my situation is that I’m able to send from
max 5 (with the simple-send-and-receive patch)
and receive with my iphone 3G
but not the other way around. After trying out some things
I found my self in the situation that nothing worked as well.
But I think I found the solution for this, maybe helpful for you:
I found out that my wireless card (looking at the details of it) did not send and receive at all. I also have a wired lan connection so I thought, how does max/msp know which network to use? I disabled my wired lan network card and the maxpatch was able to send again trough wifi. But unfortunately still not able to receive…and also, it’s not a real fine solution…
I found out that my wireless card doesn’t receive any data from the Iphone, so I thoughy maybe the host IP is incorrect. I use cmd and use the command: ipconfig /all to get the IPv4 from my wireless, double checked it, but no it’s not the thing. Checked the ports, tried different ports.
Tried with the windows firewall turned off…
Also, my wireless is working fine with wifi internet connection…
Now I’m out of idea’s.
updated version of windows 7 64bit
Iphone 3g v3.1.2(7D11)
I also tried different ports, Firewall turned on and off, and
still no communication with TouchOSC.
I downloaded max 5.1.1 today morning and something rather strange happened, my cpu went like crazy to 100% usage(the normal amount is around 10%). At the beginning I thought it was because of the metadata harvesting, but the problem continued for several minutes.
I tried several times to reinstall the version but nothing seemed to work. I reverted to use 5.0.8.
Maybe i am doing something wrong, is anyone here having similar problems?
note: to check type top on your terminal or use the activity monitor
Well I finally found out what the problem was. For some reason,
Vista reset all my port settings. I had to reopen them…
Forums > MaxMSP