set_device_sidechain
Routes a Compressor's sidechain from another track and turns it on or off, so you can duck bass or pads with the kick.
Instructions
Feed a Compressor's sidechain from another track (e.g. duck the bass or
pads with the kick) and switch its sidechain on. source is the name of
the track as Live lists it (see get_device_info: sidechain.available_types),
channel e.g. "Post FX" / "Pre FX". Live's API exposes sidechain routing
on the Compressor; other devices with a sidechain (Gate, Glue, Auto
Filter...) are routed in the interface.
Parameters:
track_index / device_index: The Compressor
source: Sidechain source track name (exact, or a unique part of it)
channel: Source tap (optional)
enable: Turn the sidechain on (default) or off
track_type: "track", "return" or "master"
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"track_index": "<track_index>",
"device_index": "<device_index>",
"source": "<source>"
},
"name": "set_device_sidechain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enable | No | ||
| source | Yes | ||
| channel | No | ||
| track_type | No | track | |
| track_index | Yes | ||
| device_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |