For my Synth Plugin I need to be able to switch about 10 modules on and off. Unfortunately there are
only 4 buttons (SW1, SW2, SW3, SW4) in prototype view. Does that mean I can only have 4 buttons on my GUI?
I must have missed something important.
Could someone please show me how to add more buttons to a plugin?
You can have as many 2-state buttons as you want in the custom GUI. You can also have as many knobs, sliders or any other GUI Designer controls as you want except the LCD control - there can only be one LCD control per GUI, but most people do not use this very useful control.
The way to do that is to setup any other slider (or any of the 1024 extra controls found inside the LCD control in RAFX) as an enumerated UINT type (aka "enum") and then set the enum string to "OFF,ON" or reuse the "SWITCH_OFF,SWITCH_ON" enum string that the four 2-state switches use. Then you just link your on/off buttons to these new controls. The 2-state switches are simply enumerated UINT controls that only have 2 state strings.
The LCD control setup is documented in both the FX and Synth books.
Most Users Ever Online: 55
Currently Browsing this Page:
Guest Posters: 1
Newest Members:frankthetank, dhodgson, Wanderer, mister1234, Evan Galvanek, Rowan Fraser, patrickbarr1984, Ray C., Jon R., Pat
Moderators: W Pirkle: 344
Administrators: Tom: 69, JD Young: 80, Will Pirkle: 0, W Pirkle: 344