routing
Read or change a track's or side-chain device's input/output signal path using mixer display names; set types and channels, with feedback protection.
Instructions
Read or change a track's (or a side-chain device's) input or output routing by the display names the mixer shows. address: 'tracks/N', 'returns/N', 'master' or a device with a side-chain such as a Compressor ('tracks/2/devices/1', input). direction: input or output. action get (default) returns the current type and channel and everything available_types / available_channels (category: external, resampling, master, track, parent_group_track, none...). set takes type and/or channel (exact display names; channels depend on the type, so set both in one call); Live only offers valid choices. Feedback guard: routing a track's INPUT from the master or from resampling while its monitoring is not Off can loop the sound back at full level, so it refuses unless allow_feedback: true (or monitoring is set to OFF first with set_properties current_monitoring_state). One undo step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | set: routing type display name, e.g. 'Ext. In', 'Master', 'Resampling', a track name | |
| action | No | Default get | |
| address | Yes | A track, return track, 'master', or a device with a side-chain | |
| channel | No | set: channel display name, e.g. '1/2' | |
| direction | Yes | Which end | |
| allow_feedback | No | set: allow input routings that can feed back (default false) |