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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pan | No | ||
| gain | No | ||
| mute | No | ||
| name | No | ||
| solo | No | ||
| track | Yes |