Sorry if this is a recurring topic. I only from this thread and I’m in a similar situation:
I have some parameters using “AudioParameterChoice” on an AudioProcessorValueTree. Some of them linked to Sliders, others to Comboboxes.
These choices can grow between versions, but doing so by naively adding choices would break existing automation. No news here.
When using the search function, what everyone seems to be doing is to add reserved values to the range. But from the preliminary analysis I’m doing, it seems that this is going to be cumbersome.
It seems more or less straightforward to just derive “RangedAudioParameter” and copy paste the “AudioParameterChoice” implementation, but adding an extra tail of reserved parameters that map to the default/last value instead. Same on the audio processor.
But then how to make the Sliders and Comboboxes to ignore the reserved range GUI/wise? Is there a way to map a Widget value range to a parameter subrange? How are you doing this? Is there a clean and clever way?