Switch

From jOrgan Wiki v1.25.1
Jump to: navigation, search

A switch is used to control external wikipedia:Midi controllers.

A switch is engaged when it is active or at least one referring activator is engaged.

jOrgan offers several specialized switches:

Activator
Engage referenced switches.
Combination
Activate/deactivate referenced switches.
Captor
Capture referenced combinations.
Coupler
Relay key presses/releases.
Connection switch
Enable connection from Connector to referenced elements.
Incrementer
Increment/decrement referenced regulators or memory elements.
Keyer
Generate a key press/release.
Panic switch
Release all pressed keys of referenced Keyboards.
Reengage switch
Reenage all referenced Ranks.
Stop
Engage ranks.
Switch filter
Filter messages of ranks.
Synchronizer
Synchronize switches.

A switch is engaged either when it is active or indirectly by referring activators.

You can use jOrgan's customize wizard to easily adjust switches to your required wikipedia:Midi settings.

Properties

active
Is this element currently active.
duration
Duration of activation:
infinite
can not be deactivated,
until deactivated
stay active until deactivated,
none
deactivate immediately,
n
deactivate after n milliseconds.
shortcut
Keyboard shortcut to operate this element.

References to

None.

Referenced from

Combination
The combinations which activate or deactivate this element.
Activator, regulator
The elements which engage this element.
Console
The console this element is placed on.

Messages

All messages are sent to / received from referring connectors:

Activate
The message condition required to activate this element.
Deactivate
The message condition required to deactivate this element.
Toggle
The message condition required to toggle this element between active and inactive.
Activated
The message to send when this element is activated.
Deactivated
The message to send when this element is deactivated.

To control a switch via note on (144) / note off (128) wikipedia:Midi messages you could use the following values:

Name MPL
Activate equal 144, equal 64,
Decativate equal 128, equal 64,

Note that the third byte of messages is ignored, hence the trailing comma. You can read these messages as:

  • "Every time a note on (144) with pitch 64 is received, activate this switch."
  • "Every time a note off (128) with pitch 64 is received, deactivate this switch."