This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
trigger:MIDI [2021/12/30 02:30] peternlewis [Raw Packet] |
trigger:MIDI [2021/12/30 02:30] (current) peternlewis [Raw Packet] |
||
---|---|---|---|
Line 46: | Line 46: | ||
The [[token:TriggerValue|%TriggerValue%]] token will the space-separated hex values representing the packet, followed by a comma, followed by the source device. | The [[token:TriggerValue|%TriggerValue%]] token will the space-separated hex values representing the packet, followed by a comma, followed by the source device. | ||
- | 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 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. |