MIDI Control
Controlling mtrack via MIDI foot controllers
MIDI Control
mtrack can be controlled via MIDI foot controllers, making it perfect for hands-free operation during live performance.
MIDI Controller Configuration
Configure MIDI control in your mtrack.yaml:
|
|
Supported MIDI Events
You can use various MIDI event types for control:
Control Change
Most common for foot controllers:
|
|
Note On/Off
|
|
Program Change
|
|
See MIDI Events Reference for all supported event types.
Control Actions
Play
Starts the currently selected song (if no song is playing):
|
|
Stop
Stops the currently playing song:
|
|
Previous
Navigate to the previous song in the playlist (only works when stopped):
|
|
Next
Navigate to the next song in the playlist (only works when stopped):
|
|
All Songs
Switch to a playlist containing all songs in your repository:
|
|
Playlist
Switch back to your defined playlist:
|
|
Status Feedback
Configure status events so your controller receives feedback about player state:
|
|
Status events are emitted periodically:
- Off (1 second) - Normal state indicator off
- On (250ms) - Either idling or playing indicator
- Off (1 second) - Repeat cycle
Song Selection Events
Songs can emit MIDI events when selected:
|
|
This is useful for:
- Changing presets on remote devices
- Triggering scene changes
- Providing visual feedback
Live MIDI to DMX
Route live MIDI events into the DMX engine:
|
|
Transformers
Note Mapper: Maps one note to multiple notes with the same velocity:
|
|
Control Change Mapper: Maps one controller to multiple controllers with the same value:
|
|
Finding Your MIDI Device
List available MIDI devices:
|
|
Use the device name (before the colon) in your configuration.
Common Foot Controller Setups
Single Button Per Action
Map each action to a different button:
|
|
Single Button with Values
Use one button/controller with different values:
|
|
Related Documentation
- MIDI Events Reference - All supported MIDI event types
- Configuration - Complete configuration guide
- Device Setup - MIDI device configuration