Connect Companion OSC surface
connect_companion_surfaceCreate a Companion-style OSC button surface in TouchDesigner, wiring incoming button addresses to target parameters and enabling feedback via OSC out, with a mapping table for labels, addresses, and modes.
Instructions
Build an OSC Companion-style button surface inside TouchDesigner: an OSC In CHOP listens for button addresses, each button gets a Select CHOP and Null CHOP row, optional target parameters are expression-bound, and an OSC Out CHOP is configured for feedback. A mapping table records label/address/target/mode/feedback for later editing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the Companion OSC surface baseCOMP. | companion_surface |
| buttons | No | Button mappings to create as Select CHOP -> Null CHOP rows. | |
| listen_port | No | Local OSC port for Companion/button input. | |
| parent_path | No | Parent COMP where the companion surface baseCOMP is created. | /project1 |
| feedback_host | No | Remote host that receives outgoing OSC feedback. | 127.0.0.1 |
| feedback_port | No | Remote OSC port that receives outgoing feedback. | |
| create_mapping_dat | No | Create/populate a tableDAT listing label, address, target, mode, and feedback. |