Manual radarTOUCH Version 3.4
T. Schwirten LANG AG
14.10.10
Page 18
4.2.2 Open sound control (OSC): TUIO
OSC is an interface that usually uses the UDP protocol. Data is sent to so called OSC-
Addresses. For more information please have a look at http://opensoundcontrol.org/.
One very popular protocol for multi touch applications is TUIO. It defines different Profiles;
we are using the /2dCur Profile. It sends the following data always to the OSC-Address
/tuio/2dCur .
set, s, x, y, X, Y, m
With:
set → String that always comes first to indicate which data will follow
s → Object ID [int 32]
x → x-Coordinate, Range 0…1 [float 32]
y → y-Coordinate, Range 0…1 [float 32]
X → Movement vector x-Direction (motion speed and direction) [float 32]
Y → Movement vector y-Direction (motion speed and direction) [float 32]
m → motion acceleration [float 32]
This is sent for each detected obstacle.
alive, [List of all objects alive]
With:
alive: → String that always comes first to indicate which data will follow
id’s → IDs of all detected obstacles
This is sent once for one measurement and includes all active detected obstacles.
For more detailed information please have a look at http://www.tuio.org/?tuio10. Everything
needed is described there.