MIDI Events Reference
Complete reference of supported MIDI event types
MIDI Events Reference
mtrack supports various MIDI event types for control and automation. This reference covers all supported events.
Event Types
Note Off
Acts as if a note was released:
|
|
Note On
Acts as if a note was pressed:
|
|
Aftertouch (Polyphonic)
Polyphonic aftertouch for a specific note:
|
|
Control Change
Changes a controller value:
|
|
Program Change
Changes banks and instruments:
|
|
Channel Aftertouch
Channel-wide aftertouch:
|
|
Pitch Bend
Pitch bend event:
|
|
Usage Contexts
Controller Events
Use in controller configuration for player control:
|
|
Song Selection Events
Emit when a song is selected:
|
|
Status Events
For controller feedback:
|
|
Channel Numbers
MIDI channels in mtrack are specified as 1-16, not 0-15. This matches common MIDI controller conventions.
Value Ranges
- Velocity: 0-127
- Controller Value: 0-127
- Program: 0-127
- Note: 0-127 (MIDI note numbers)
- Pitch Bend: -8192 to 8191 (typically represented as 0-16383)
Related Documentation
- MIDI Control - Using MIDI for player control
- Configuration - Configuration reference
- Song Configuration - Song-level MIDI events