set_parameter
Adjust a device parameter by numeric index or name/glob on any track, then verify the read-back value to confirm it was applied.
Instructions
Set a device parameter by numeric index or name/glob and verify read-back.
Args:
track: Track index in song.tracks (or song.return_tracks). Ignored for kind="master".
device: Device index within track chain.
parameter: Parameter index (as string e.g. "1") or parameter name/glob pattern.
value: Parameter target value.
kind: Track kind ('track', 'return', or 'master').
Returns:
Dictionary reporting write status, resolved parameter index, and read-back value.
Note:
Parameter values are normalised, not the unit the device displays. Read ``min``
and ``max`` (``describe`` with ``with_parameters=True``) rather than assuming
a range.
The curve from 0..1 onto the displayed unit is not linear and differs per
device. On one third-party compressor Attack is ``v^4 * 1000 ms``, so writing
"10 ms" linearly lands at 316 ms, a factor of 30, silently. Where the device
reports a display, aim with the display; where it does not (all VST2), write
normalised and calibrate by eye once.
Measured 2026-08-30 against Live 12.4.5: a quantized parameter takes discrete
steps, so a written 0.5 can legitimately read back as something else, and that
is reported as a clamp rather than as a failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | track | |
| track | Yes | ||
| value | Yes | ||
| device | Yes | ||
| parameter | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||