…Which is not a real problem, I just copied the snap code over. It just became very relevant when using a MIDI input, because people are expecting the same behaviour as the GUI, but that’s not happening.
For example using the pitch bend MIDI to alter a dial that is supposed to have a stepped value. I can’t do this, because the ‘snapValue’ won’t be called:-
AudioProcessorParameterWithID* p = pluginParams.getParameter("SteppedWheel"); p->setValue(value);