Difference between revisions of "Switch"
Latest revision as of 18:36, 29 November 2012
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:
- Engage referenced switches.
- Activate/deactivate referenced switches.
- Capture referenced combinations.
- Relay key presses/releases.
- Connection switch
- Enable connection from Connector to referenced elements.
- Increment/decrement referenced regulators or memory elements.
- Generate a key press/release.
- Panic switch
- Release all pressed keys of referenced Keyboards.
- Reengage switch
- Reenage all referenced Ranks.
- Engage ranks.
- Switch filter
- Filter messages of ranks.
- Synchronize switches.
- Is this element currently active.
- Duration of activation:
- can not be deactivated,
- until deactivated
- stay active until deactivated,
- deactivate immediately,
- deactivate after n milliseconds.
- Keyboard shortcut to operate this element.
- The combinations which activate or deactivate this element.
- Activator, regulator
- The elements which engage this element.
- The console this element is placed on.
All messages are sent to / received from referring connectors:
- The message condition required to activate this element.
- The message condition required to deactivate this element.
- The message condition required to toggle this element between active and inactive.
- The message to send when this element is activated.
- 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:
|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."