User Tools

Site Tools


trigger:MIDI

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
trigger:MIDI [2017/11/06 01:28]
peternlewis [Controller Change]
trigger:MIDI [2017/11/06 01:31]
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:​TriggerValue|%TriggerValue%]] token will hold `channel,​note,​velocity,​device` for press and release (just the velocity was included prior to version 8.0).+The [[token:​TriggerValue|%TriggerValue%]] token will hold `channel,​note,​velocity,​device` for press and release (just the velocity was included prior to version 8.0).  You can easily access the individual parts using the token array notation, eg `%TriggerValue[2]%` will be the controller (8.0.4+).
  
 ====== Controller Change ======= ====== Controller Change =======
Line 36: Line 36:
 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:​TriggerValue|%TriggerValue%]] token will hold `channel,​controller,​value,​device`. ​ You can easily access the individual parts using the token array notation, eg `%TriggerValue[2]` will be the controller (8.0.4+).+The [[token:​TriggerValue|%TriggerValue%]] token will hold `channel,​controller,​value,​device`. ​ You can easily access the individual parts using the token array notation, eg `%TriggerValue[2]%` will be the controller (8.0.4+). 
 ====== Raw Packet ======= ====== Raw Packet =======
  
Line 43: Line 44:
 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:​TriggerValue|%TriggerValue%]] token will the space-separated hex values representing the packet. ​ +The [[token:​TriggerValue|%TriggerValue%]] token will the space-separated hex values representing the packet. ​ 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.
trigger/MIDI.txt · Last modified: 2021/12/30 02:30 by peternlewis