Overview
MIDI tracks in Lumix enable music composition and sequencing using MIDI data. They support VST instruments, MIDI event playback, and real-time recording from virtual or hardware keyboards.Creating MIDI Tracks
MIDI tracks can be created through the arrangement view. Each track has its own MIDI engine for processing MIDI events and routing them to VST instruments.Key Features
MIDI Clip Management
Create MIDI clips by double-clicking on the track timeline:Volume Metering
MIDI tracks feature real-time volume metering for monitoring output levels:MIDI Engine
TheTrackMidiEngine handles MIDI event processing and VST instrument communication.
Sending MIDI Events
MIDI File Playback
The engine supports playback of MIDI files with real-time event processing:Supported MIDI Events
Note Events
Note Events
- Note On: Triggers when a note starts playing
- Note Off: Triggers when a note stops playing
- Includes velocity information (0-127)
Control Change (CC) Events
Control Change (CC) Events
- CC 64: Sustain pedal on/off
- CC 7: Volume control
- CC 10: Pan control
- Other CC messages for modulation, expression, etc.
Program Change
Program Change
- Switch between instrument patches
- Tracked automatically during playback
Pitch Bend
Pitch Bend
- Smooth pitch modulation
- Tracked in real-time during playback
Integration with VST Instruments
MIDI tracks seamlessly integrate with VST instruments through the plugin chain:Track Properties
| Property | Type | Description |
|---|---|---|
TrackType | TrackType | Always TrackType.Midi for MIDI tracks |
Engine | TrackMidiEngine | MIDI processing engine |
Clips | List<Clip> | Collection of MIDI clips on this track |
Color | Vector4 | Track color for visual identification |
Enabled | bool | Whether the track is active |
RecordOnStart | bool | Enable recording from virtual keyboard |
MIDI tracks require at least one VST instrument to produce sound. Add a VST instrument from the plugin browser to start making music.
Best Practices
Organize Your Tracks
Use descriptive names and colors to keep your project organized as you add more MIDI tracks.
Monitor Levels
Watch the track meters to avoid clipping and maintain proper gain staging.
Use Automation
Automate MIDI CC parameters for dynamic, expressive performances.
Bounce to Audio
Render MIDI tracks to audio to save CPU when using heavy VST instruments.
See Also
- MIDI Clips - Working with MIDI clip data
- Piano Roll - Editing MIDI notes visually
- Virtual Keyboard - Recording MIDI with your computer keyboard
- VST Plugins - Loading and using VST instruments