GenericAudioProcessorEditor - enable / disable sliders


#1

Is there a way to enable and disable UI controls (i.e. sliders, combo boxes etc) when using GenericAudioProcessorEditor?
Thanks
jdx


#2

Maybe you can use getChildren to get the child components? If you are lucky, the relevant child components are placed in the array in some pattern that corresponds to the AudioProcessor parameter indexes.

It’s probably best to do your own component for the parameters, though. It seems to me the GenericAudioProcessorEditor is just meant for quick initial testing, not really for a proper GUI, since the customization options are so limited.