trigger:MIDI
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| trigger:MIDI [2021/12/30 07:30] – [Raw Packet] peternlewis | trigger:MIDI [2025/03/01 02:53] (current) – [Packet] peternlewis | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| You can configure the trigger to execute the macro when the note is received from a particular device, from a particular channel or from any device or channel. | You can configure the trigger to execute the macro when the note is received from a particular device, from a particular channel or from any device or channel. | ||
| - | The [[token: | + | The [[token: |
| + | |||
| + | ^ Token ^ Value ^ | ||
| + | | %TriggerValue[1]% | ||
| + | | %TriggerValue[2]% | ||
| + | | %TriggerValue[3]% | ||
| + | | %TriggerValue[4]% | Device | ||
| ====== Controller Change ======= | ====== Controller Change ======= | ||
| Line 36: | Line 43: | ||
| You can configure the trigger to execute the macro when the controller change is received from a particular device, from a particular channel or from any device or channel. | You can configure the trigger to execute the macro when the controller change is received from a particular device, from a particular channel or from any device or channel. | ||
| - | The [[token: | + | The [[token: |
| - | ====== | + | ^ Token ^ Value ^ |
| + | | %TriggerValue[1]% | ||
| + | | %TriggerValue[2]% | ||
| + | | %TriggerValue[3]% | ||
| + | | %TriggerValue[4]% | ||
| + | |||
| + | |||
| + | ====== 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 44: | Line 58: | ||
| 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]% | ||
| - | 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.1640849411.txt.gz · Last modified: by peternlewis
