TouchOSC | ControlsUpdated: Mar 13, 2012
In the Control reference in the following section you'll find a list of all controls that TouchOSC offers, including examples of how to address each control with OSC messages.
Please note that all OSC addresses or paths in the following notes are only examples. As the OSC address for each control depends on a control's name and parent page's name, and can also be completely customized, it's impossible to give absolute examples. Always substitute the example OSC addresses for the specific OSC address of a control, which is displayed in the OSC properties panel in the TouchOSC Editor.
Multiple controls can have the same OSC and MIDI messages mapped to it and will all receive the same incoming message.
Though not configurable controls, the pages in a TouchOSC layout can be addressed with OSC messages. Sending an OSC message to TouchOSC with only the page name as the address will make that page the active page and display it on the device. For example, sending
to TouchOSC will make the page named "1" the active page.
Global OSC messages
/vibrateTriggers device vibration (iPhone only)
Common OSC messages
There are common OSC messages that all controls can receive to change a control's properties remotely. Even controls that do not support receiving specific OSC messages will react to these messages.
/control/visible 0Set control invisible
/control/visible 1Set control visible
/control/position/x 0Set control x position
/control/position/y 0Set control y position
/control/position/z 0Set control z-order in the control hierarchy
/control/size/w 35Set control width
/control/size/h 35Set control height
/control/color redChange a control's color palette to red. Possible values for the color parameter are all the available color settings for the Color property in the TouchOSC Editor
When a control is configured with a MIDI message for one of its variables, it will also automatically receive the same type of MIDI message. The exception are MIDI messages for the z variable, which have no effect on the control when received.