class Extron::Matrix
- Extron::Matrix
- PlaceOS::Driver
- Reference
- Object
Included Modules
- Extron::SIS
- PlaceOS::Driver::Interface::InputSelection(UInt16)
- PlaceOS::Driver::Interface::Muteable
- PlaceOS::Driver::Interface::Switchable(UInt16, UInt16)
Defined in:
extron/matrix.crConstant Summary
-
MUTE_INPUT =
0_u16
Class Method Summary
Instance Method Summary
-
#audio_mute(state : Bool = true, group : Int32 = 2)
Sets the audio mute state on the specified group.
- #connected
- #device_size
- #disconnected
-
#mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo)
When implementing muteable, these should be the preferred defaults
- #on_load
- #on_update
- #query_device_info
-
#received(data, task)
Response callback for async responses.
-
#switch(map : Hash(Input, Array(Output)), layer : SwitchLayer | Nil = nil)
Implementing switchable interface
-
#switch_layer(input : Input, layer : MatrixLayer = MatrixLayer::All)
Connect input to all outputs at the specified layer.
-
#switch_map(map : SignalMap, layer : MatrixLayer = MatrixLayer::All)
Applies a
SignalMap
as a single operation. -
#switch_one(input : Input, output : Output, layer : MatrixLayer = MatrixLayer::All)
Connect a signal input to an output at the specified layer.
-
#switch_to(input : Input)
Switches all outputs to the requested input Special case
switch_to 0
should mute all the outputs, if supported -
#volume(level : Float64 | Int32, group : Int32 = 1)
Sets the audio volume level (0..100) on the specified mix group.
Class Method Detail
Instance Method Detail
Sets the audio mute state on the specified group.
NOTE mute groups may differ from volume groups depending on device configuration. Default group (2) is program audio.
When implementing muteable, these should be the preferred defaults
Implementing switchable interface
Connect input to all outputs at the specified layer.
Applies a SignalMap
as a single operation. All included ties will take
simultaneously on the device.
Connect a signal input to an output at the specified layer.
0
may be used as either an input or output to specify a disconnection at
the corresponding signal point. For example, to disconnect input 1 from all
outputs is is currently feeding #switch(1, 0)
.
Switches all outputs to the requested input
Special case switch_to 0
should mute all the outputs, if supported
Sets the audio volume level (0..100) on the specified mix group.