set_control_matrix

Set the linear combination of ADC input signals for a given PID channel.

NOTE Interface currently only supports using the first two PID loops which are paired with the first two ADC channels, e.g. Moku:Pro's third and fourth loops and ADC3, ADC4 cannot yet be used through this API.

Parameters

integer required
Target PID controller channel
allowed values:1, 2
number required
ADC Input 1 gain for this controller
allowed values:-20 to 20
units: dB
number
ADC Input 2 gain for this controller. Required when the instrument has two inputs. Leave unset (or set to 0) when the slot has only one input.
default: None
allowed values:-20 to 20
units: dB

Note

The slot has only one input for Moku:Go and Moku:Lab in 3-slot Multi-Instrument Mode.

boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response

{
    "input_gain1": 1.0,
    "input_gain2": 0.0
}
1
2
3
4