2
0
Fork 0

Update PluginProcessor.cpp

MIDI CC buttons learn fix
This commit is contained in:
George Reales 2020-08-12 10:31:39 +02:00
parent f09c00d25c
commit cecc1adf74

View file

@ -242,9 +242,9 @@ inline void ObxdAudioProcessor::processMidiPerSample (MidiBuffer::Iterator* iter
{ {
midiControlledParamSet = true; midiControlledParamSet = true;
setEngineParameterValue (bindings[lastMovedController], setEngineParameterValue (bindings[lastMovedController],
midiMsg->getControllerValue() / 127.0f); midiMsg->getControllerValue() / 127.0f, true);
setEngineParameterValue (MIDILEARN, 0); setEngineParameterValue (MIDILEARN, 0, true);
lastMovedController = 0; lastMovedController = 0;
lastUsedParameter = 0; lastUsedParameter = 0;