Line 388: |
Line 388: |
| <br clear=all> | | <br clear=all> |
| | | |
− | =Key bindings= | + | =CUIA: Callable UI Actions= |
| + | |
| + | The Zynthian UI can be controlled remotely using a set of commands called CUIA: Callable UI Actions. These CUIA are available on several interfaces: Key Bindings, MIDI, OSC, etc. |
| + | |
| + | ==Key Bindings: Controlling the UI with a computer keyboard== |
| | | |
| The user interface may be driven using a USB keyboard, e.g. QWERTY, Dvorak, etc. | | The user interface may be driven using a USB keyboard, e.g. QWERTY, Dvorak, etc. |
Line 458: |
Line 462: |
| |Right||None||SELECT | | |Right||None||SELECT |
| |} | | |} |
| + | |
| + | ==Controlling the UI with MIDI messages== |
| + | |
| + | These actions are available using MIDI messages on the Master Channel (default 16, but configurable with the webconf tool), specifically, note-on messages (0x9) are used so you can use a MIDI keyboard for controlling the Zynthian UI. For instance, to Power Off the zynthian, you send this message: |
| + | |
| + | 0x9F ( Channel 16 Note ON) |
| + | 0x00 ( Note code for POWER_OFF as below ) |
| + | 0x00 (Velocity/parameter) |
| + | |
| + | or play the A-3 key, if your keyboard have it ;-) |
| + | |
| + | This is the full list: |
| + | |
| + | "0": "POWER_OFF", |
| + | "1": "REBOOT", |
| + | "2": "RESTART_UI", |
| + | "3": "RELOAD_MIDI_CONFIG", |
| + | |
| + | "10": "ALL_NOTES_OFF", |
| + | "11": "ALL_SOUNDS_OFF", |
| + | "12": "ALL_OFF", |
| + | |
| + | "51": "SELECT", D#3/Eb3 |
| + | "52": "SELECT_UP", E3 |
| + | "53": "SELECT_DOWN", F3 |
| + | |
| + | "64": "SWITCH_BACK_SHORT", E4 |
| + | "63": "SWITCH_BACK_BOLD", D#4/Eb4 |
| + | "62": "SWITCH_BACK_LONG", D4 |
| + | |
| + | "65": "SWITCH_SELECT_SHORT", F4 |
| + | "66": "SWITCH_SELECT_BOLD", F#4/Gb4 |
| + | "67": "SWITCH_SELECT_LONG", G4 |
| + | |
| + | "60": "SWITCH_LAYER_SHORT", C4 |
| + | "61": "SWITCH_LAYER_BOLD", C#4/Db4 |
| + | "59": "SWITCH_LAYER_LONG", B4 |
| + | |
| + | "71": "SWITCH_SNAPSHOT_SHORT", B5 |
| + | "72": "SWITCH_SNAPSHOT_BOLD", C5 |
| + | "73": "SWITCH_SNAPSHOT_LONG" C#5/Db5 |
| + | |
| + | [[File:2Oct_Keyboard_CUIA.png|600px|Keyboard]] |