trigger:MIDI
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| trigger:MIDI [2025/02/26 02:11] – [Controller Change] peternlewis | trigger:MIDI [2026/05/07 02:44] (current) – August | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== MIDI Trigger ====== | ||
| + | |||
| The *MIDI trigger* lets you execute a macro when a MIDI packet is received. | The *MIDI trigger* lets you execute a macro when a MIDI packet is received. | ||
| Line 52: | Line 54: | ||
| - | ====== | + | ====== Packet ======= |
| This is a rather advanced trigger that requires some knowledge of the MIDI protocol (v8+). | This is a rather advanced trigger that requires some knowledge of the MIDI protocol (v8+). | ||
| Line 58: | Line 60: | ||
| This should allow you to capture things like SysEx and HUI protocol packets and the like. | This should allow you to capture things like SysEx and HUI protocol packets and the like. | ||
| - | The [[token: | + | The [[token: |
| + | |||
| + | ^ Token ^ Value ^ | ||
| + | | %TriggerValue[1]% | ||
| + | | %TriggerValue[2]% | ||
| - | If you extract just the bytes (ie, everything up until the first comma), then you can easily access the individual parts using the token array notation, eg `%TriggerValue[3] %` will be the third value (8.0.4+) — note the `[space]` in `][space]%`, the space is the separator for the array, instead of the default comma. | + | If you extract just the bytes (ie, everything up until the first comma), then you can then easily access the individual parts using the token array notation, eg `%DataVar[3] %` will be the third value (8.0.4+) — note the `{space}` in `]{space}%`, the space is the separator for the array, instead of the default comma. |
trigger/MIDI.1740535880.txt.gz · Last modified: by peternlewis
