On the plugin host side, I want to map plugin parameters to internal parameters.
I’m looking for a way to uniquely identify parameters, that would be robust to plugin parameter info changes.
Currently, the AudioProcessorParameters that can be accessed through AudioPluginInstance (AudioProcessor) only provide a getParameterIndex accessor. If I understand correctly, the underlying parameter index could potentially change under some circumstances, like changing preset etc.
VST3 provides a paramID, that is completely inaccessible through the Juce API. I know AUs also provide IDs.
How can I access a 100% reliable ID for a given parameter?
I’ve been working on a solution to this problem recently. It’s currently awaiting review, but hopefully it will go on develop shortly after the next bugfix release.