May I suggest the following tiny modification:
In file juce_AU_Wrapper.mm,
Replacing:
void audioProcessorChanged (AudioProcessor*) { PropertyChanged (kAudioUnitProperty_Latency, kAudioUnitScope_Global, 0); }
with :
void audioProcessorChanged (AudioProcessor*) override { PropertyChanged (kAudioUnitProperty_Latency, kAudioUnitScope_Global, 0); PropertyChanged (kAudioUnitProperty_ParameterList, kAudioUnitScope_Global, 0); PropertyChanged (kAudioUnitProperty_ParameterInfo, kAudioUnitScope_Global, 0); }
This would allow to change the name of the parameters during the lifetime of the AudioProcessor (by calling AudioProcessor::updateHostDisplay), which might be useful on some (rare) occasions.
Or maybe there is a better way to do that ?
NB : It seems that dynamically changing the name of the parameters already works fine in VST and AAX (at least in the few hosts I tested).