Max/msp + TUIO (osc question really)

Danjel van Tijn's icon

I am running a max patch receiving TUIO (OSC) messages from a program called Touche.

When I run my max patch and a TUIO simulator, I can click on the simulator and it will give me proper "addCursor" and "removeCursor" messages. However, when I run Touche (it is generating TUIO data based on blobs it is tracking with a camera)
and I add a fixed position blob source (an ir light) it starts generating repeated addCursor/removeCursor messages (a constant stream of them).

has anyone else worked with an app that generates TUIO protocol osc messages and max?

Also, when using OSC is it ok for more than one app to be listening for messages on the same port? or do they each need to listen on a unique port?

thanks!

jayrope's icon

they need to listen on a unique port as far as i can see from using osculator with a wii remote.

hope that helps,

jrp

Danjel van Tijn's icon

Seems that there can only be one TUIO client so the first app (in my case an OpenFrameworks graphics app) needs to forward on the TUIO messages as OSC on a different port. Then in max I use UDP receive instead of TUIOclient (and listening on a port other than 3333)