No way to set AudioProcessorParameterWithID label?

there is a const String label; member in AudioProcessorParameterWithID, but we can’t use it at the moment.
it’s a public member, but it’s const. There is a getLabel(), but no setLabel().

Could we get a way to set it?

or perhaps as an optional param to the constructor? (and also to AudioParameterInt, etc. )

edit : that was already requested here : Showing a label e.g. Hz, dB using AudioParameterFloat?

OK this is fixed on develop. Thanks for spotting this.

It seems there is still no setLabel in Juce 7 master branch, I don’t understand, I just got the code, is there a way of adding a suffix to a parameter at all in 7.02?

You need to set the label during the construction of your AudioProcessorParameterWithID. Do this by calling withLabel on an instance of AudioProcessorParameterWithIDAttributes which you pass into the constructor of AudioProcessorParameterWithID.

Changing the label of a parameter after it’s been created is not super well supported by JUCE as not all hosts support updating parameter labels after they’ve been created.

1 Like

Also see here: