How to automate radio buttons as a single control?
-
My plugin has 3 radio buttons to choose LFO waveform. Works great in the UI but I'm trying to figure out how to automate it.

Logic's Test Tone plugin has a similar situation, where it's a set of radio buttons to select the waveform in the UI but you automate it with a single stepped range called Waveform.

The only way I can think of doing this is with a hidden slider, used for automation only, that sets both the waveform in the LFO module and the state of the UI visible radio buttons.
Or is there a better way?
-
@dannytaurus said in How to automate radio buttons as a single control?:
The only way I can think of doing this is with a hidden slider, used for automation only,
That was my first thought too.