Interface KnobControl

Represents a knob control that can be used in a Svelte component.

The name of the control

The direction of the control either "Read/Write", "Read Only", or "Write Only"

The type of the control as reported by Q-SYS. One of "Boolean", "Integer", "Float", "Text", "Trigger", or "Time"

The raw control data provided by the QRWC Library. NOTE: Values in the raw control object are not reactive.

$state of the control's value (number), set to command the control to change its value.

The minimum numeric value of the control as reported by the Core.

The maximum numeric value of the control as reported by the Core.

$state of the control's position (float 0-1), set to command the control to change its position.

$state of the control's string (string), set to command the control to change its string.

The minimum string value of the control as reported by the Core.

The maximum string value of the control as reported by the Core.

interface KnobControl {
    ControlName: string;
    Direction: ControlDirection;
    position: number;
    rawControl: undefined | Control;
    string: string;
    stringMax: undefined | string;
    stringMin: undefined | string;
    Type: ControlType;
    value: number;
    valueMax: undefined | number;
    valueMin: undefined | number;
}

Hierarchy (View Summary)

Properties

ControlName: string
Direction: ControlDirection
position: number
rawControl: undefined | Control
string: string
stringMax: undefined | string
stringMin: undefined | string
value: number
valueMax: undefined | number
valueMin: undefined | number