track_set_properties
Set an audio track's name, gain, pan, mute, and solo by its index in Audacity.
Instructions
Set properties of a track by index.
Args: track: Track index (0-based) name: New track name gain: Track gain in dB (-36 to 36) pan: Track pan (-1.0=left to 1.0=right) mute: Mute the track solo: Solo the track
Mute and solo are read back after the write, because Audacity accepts them and does nothing. When that happens the result carries a warning naming the flags that did not change.
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": "<track>"
},
"name": "track_set_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pan | No | ||
| gain | No | ||
| mute | No | ||
| name | No | ||
| solo | No | ||
| track | Yes |