FR: Add something like addParameterListener(StringRef parameterID, std::function<void(float)>) to AudioProcessorValueTreeState


Hi JUCE team,

would it be possible to add something like AudioProcessorValueTreeState::addParameterListener(StringRef parameterID, std::function<void(float)>) to the AudioProcessorValueTreeState class? I’m building up a plugin with a lot of parameters and it would be quite handy for my use-case to just pass a lambda that calls some already existing member functions of other classes if a parameter changes instead of creating some hundred different AudioProcessorValueTreeState::Listener subclasses which do this.