MIDI Learn system for mapping MIDI CC messages to plugin parameters.
MidiLearn provides a way to associate MIDI CC controllers (0-127) with plugin parameters. When a CC message is received, it automatically updates the corresponding parameter value and handles proper host notification with gesture begin/end tracking.
Key Features:
- Maps 128 MIDI CC controllers to parameters
- Automatic host notification for parameter changes
- Gesture timeout (333ms) for grouping rapid CC changes
- State persistence via ValueTree
Usage:
midiLearn.setSampleRate(44100.0);
midiLearn.processBlock(midiBuffer, numSamples);
midiLearn.saveState(state);
midiLearn.loadState(state);
MIDI Learn system for mapping MIDI CC messages to plugin parameters.
Definition gin_midilearn.h:41
A lightweight 2D point class for projects that don't use juce_graphics.
Definition gin_point.h:25
- See also
- Parameter, Processor