And can someone tell me how to NOT snap a text inputted value. Do I just delete that snapValue call? It seems to work OK if I do.
What I want is allow the user to change pitch in semi-tones on a slider and to be able to have any value when holding shift, or indeed, input a text number.
Note I can’t override the labelTextChanged function, presumably because of the Pimpl: stuff.
I think to make the value matching a range, the plugin can use, which is limiting it between min and max, and to adapt for fixed steps, maybe.
But TBH I think most is taken care of by the AudioProcessorParameterXX classes. They might be used outside a AudioProcessor context, so it makes sense for me to keep them usable…