class Qsc::QSysRemote
- Qsc::QSysRemote
- PlaceOS::Driver
- Reference
- Object
Defined in:
qsc/q_sys_remote.crConstant Summary
-
BoolVals =
["true", "false"]
-
DB_RANGE =
-100..20
-
Delimiter =
"\u0000"
-
Errors =
{-32700 => "Parse error. Invalid JSON was received by the server.", -32600 => "Invalid request. The JSON sent is not a valid Request object.", -32601 => "Method not found.", -32602 => "Invalid params.", -32603 => "Server error.", 2 => "Invalid Page Request ID", 3 => "Bad Page Request - could not create the requested Page Request", 4 => "Missing file", 5 => "Change Groups exhausted", 6 => "Unknown change croup", 7 => "Unknown component name", 8 => "Unknown control", 9 => "Illegal mixer channel index", 10 => "Logon required"}
-
Faders =
{matrix_in: {type: :"Mixer.SetInputGain", pri: :Inputs}, matrix_out: {type: :"Mixer.SetOutputGain", pri: :Outputs}, matrix_crosspoint: {type: :"Mixer.SetCrossPointGain", pri: :Inputs, sec: :Outputs}}
-
JsonRpcVer =
"2.0"
-
Mutes =
{matrix_in: {type: :"Mixer.SetInputMute", pri: :Inputs}, matrix_out: {type: :"Mixer.SetOutputMute", pri: :Outputs}}
Class Method Summary
Instance Method Summary
-
#auto_poll_change_group(group_id : String, every : Num, **options)
Where every is the number of seconds between polls
- #change_group_add_component(group_id : String, component_name : String, controls : Array(String), **options)
- #change_group_add_controls(group_id : String, controls : Array(String), **options)
- #change_group_remove_controls(group_id : String, controls : Array(String), **options)
-
#clear_change_group(group_id : String, **options)
Removes all controls from change group
- #component_get(c_name : String, controls : Array(String), **options)
- #component_set(c_name : String, values : Values, **options)
- #component_trigger(component : String, trigger : String, **options)
- #connected
- #control_get(names : Array(String), **options)
- #control_set(name : String, value : Num | Bool, ramp : Num | Nil = nil, **options)
-
#destroy_change_group(group_id : String, **options)
Removes the change group
- #disconnected
-
#fader(fader_ids : Ids, value : Num | Bool, component : String | Nil = nil, type : String = "fader", use_value : Bool = false, **options)
value can either be a number to set actual numeric values like decibels or Bool to deal with mute state
- #faders(ids : Ids, value : Num | Bool, component : String | Nil = nil, type : String = "fader", **options)
- #get_components(**options)
- #get_status
- #logon
- #matrix_fader(name : String, level : Num, index : Array(Int32), type : String = "matrix_out", **options)
- #matrix_mute(name : String, value : Num, index : Array(Int32), type : String = "matrix_out", **options)
-
#mixer(name : String, inouts : Hash(Int32, Int32 | Array(Int32)), mute : Bool = false, **options)
Example usage: mixer 'Parade', {1 => [2,3,4], 3 => 6}, true
- #mute(fader_id : Ids, state : Bool = true, component : String | Nil = nil, type : String = "fader", **options)
- #mutes(ids : Ids, state : Bool = true, component : String | Nil = nil, type : String = "fader", **options)
- #next_id
-
#no_op
This command does nothing but is useful for making sure the socket is left open
- #on_load
- #on_update
-
#poll_change_group(group_id : String, **options)
Returns values for all the controls
- #query_fader(fader_id : Ids, component : String | Nil = nil, type : String = "fader")
- #query_faders(ids : Ids, component : String | Nil = nil, type : String = "fader", **options)
- #query_mute(fader_id : Ids, component : String | Nil = nil, type : String = "fader")
- #query_mutes(ids : Ids, component : String | Nil = nil, type : String = "fader", **options)
- #received(data, task)
- #unmute(fader_id : Ids, component : String | Nil = nil, type : String = "fader", **options)
Class Method Detail
Instance Method Detail
Where every is the number of seconds between polls
def change_group_add_component(group_id : String, component_name : String, controls : Array(String), **options)
#
def change_group_add_controls(group_id : String, controls : Array(String), **options)
#
def change_group_remove_controls(group_id : String, controls : Array(String), **options)
#
def fader(fader_ids : Ids, value : Num | Bool, component : String | Nil = nil, type : String = "fader", use_value : Bool = false, **options)
#
value can either be a number to set actual numeric values like decibels or Bool to deal with mute state
def faders(ids : Ids, value : Num | Bool, component : String | Nil = nil, type : String = "fader", **options)
#
def matrix_fader(name : String, level : Num, index : Array(Int32), type : String = "matrix_out", **options)
#
def matrix_mute(name : String, value : Num, index : Array(Int32), type : String = "matrix_out", **options)
#
def mixer(name : String, inouts : Hash(Int32, Int32 | Array(Int32)), mute : Bool = false, **options)
#
Example usage: mixer 'Parade', {1 => [2,3,4], 3 => 6}, true
def mute(fader_id : Ids, state : Bool = true, component : String | Nil = nil, type : String = "fader", **options)
#
def mutes(ids : Ids, state : Bool = true, component : String | Nil = nil, type : String = "fader", **options)
#