How mat1jaczyyy/lpp-performance-cfw works
This is custom firmware for the Novation Launchpad Pro. The principal workflow is that pad, MIDI, and device events enter the firmware, the active mode handles them, and the firmware updates LEDs or sends MIDI/SysEx results. It also includes setup and palette editing, persistent settings and custom modes, and the stock-style operating modes alongside Performance mode. The README documents these capabilities; some implementation links below are inferred because their source files were not excerpted, so those links are dashed and uncited.
Main entry points: mode.c Mode dispatcher · app.c Event runtime · performance.c Performance mode · ableton.c Ableton mode
Components 28
Runtime and modes
- Event runtime
src/app.c - Mode dispatcher
src/modes/mode.c - Performance mode
src/modes/normal/performance.c - Ableton mode
src/modes/normal/ableton.c - Note mode
src/modes/normal/note.c - Drum mode
src/modes/normal/drum.c - Fader mode
src/modes/normal/fader.c - Piano mode
src/modes/normal/piano.c - Chord mode
src/modes/normal/chord.c - Custom modes
src/modes/normal/custom.c - Programmer mode
src/modes/normal/programmer.c - Text mode
src/modes/normal/text.c
Device screens
- Setup screen
src/modes/special/setup.c - Palette editor
src/modes/special/editor.c - Scale setup
src/modes/special/scale.c - Boot screen
src/modes/special/boot.c - Idle screen
src/modes/special/idle.c - Puyo mode
src/modes/special/puyo.c
MIDI and display
- LED rendering
src/led/led.c - Palette data
src/led/palettes.c - MIDI output
src/send/send.c - Aftertouch
src/aftertouch/aftertouch.c - SysEx handling
src/sysex/sysex.c - MIDI conversion
src/other/conversion.c - Tempo tracking
src/other/tempo.c
Settings and storage
- Settings
src/flash/settings.c - Flash storage
src/flash/write.c
Other components
- Launchpad Pro
Connections 34
- Launchpad Pro → Event runtime: sends events
- Event runtime → Mode dispatcher: routes events
- Mode dispatcher → Performance mode: dispatches
- Mode dispatcher → Ableton mode: dispatches
- Mode dispatcher → Note mode: dispatches
- Mode dispatcher → Drum mode: dispatches
- Mode dispatcher → Fader mode: dispatches
- Mode dispatcher → Piano mode: dispatches
- Mode dispatcher → Chord mode: dispatches
- Mode dispatcher → Custom modes: dispatches
- Mode dispatcher → Programmer mode: dispatches
- Mode dispatcher → Text mode: dispatches
- Mode dispatcher → Setup screen: dispatches
- Mode dispatcher → Palette editor: dispatches
- Mode dispatcher → Scale setup: dispatches
- Mode dispatcher → Boot screen: dispatches
- Mode dispatcher → Idle screen: dispatches
- Mode dispatcher → Puyo mode: dispatches
- Performance mode → Launchpad Pro: displays velocities
- Ableton mode → Launchpad Pro: integrates Live
- Note mode → Launchpad Pro: plays notes
- Piano mode → Launchpad Pro: lays out keys
- Custom modes → SysEx handling: exchanges modes
- Setup screen → Settings: changes options
- Palette editor → Palette data: edits palette
- Settings → Flash storage: persists settings
- LED rendering → Palette data: reads colors
- LED rendering → Launchpad Pro: plots LEDs
- Event runtime → SysEx handling: handles messages
- Event runtime → Aftertouch: handles input
- Aftertouch → MIDI output: sends pressure
- Event runtime → Tempo tracking: tracks tempo
- Ableton mode → MIDI conversion: converts data
- Performance mode → MIDI conversion: converts data