set_device_parameter
Set a device parameter to a specific value, automatically clipping to the parameter's min/max range. Retrieve parameter indices and valid ranges with get_device_parameters.
Instructions
Set a parameter on a device to a specific value.
Value is clipped to the parameter's min..max if out of range. Call get_device_parameters first to discover the parameter index and valid range.
Parameters:
track_index: Track containing the device (ignored for master)
device_index: Position of the device in the track's device chain
parameter_index: Index of the parameter (from get_device_parameters)
value: New value (will be clipped to min..max)
track_kind: 'regular' (default), 'return', or 'master'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| track_kind | No | regular | |
| track_index | Yes | ||
| device_index | Yes | ||
| parameter_index | Yes |