



Good morning!
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.
- Will
Most Users Ever Online: 152
Currently Online:
6 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Chaes: 56
Skyler: 48
StevieD: 46
Derek: 46
Frodson: 45
Peter: 43
TheSmile: 43
Nickolai: 43
clau_ste: 39
jeanlecode: 37
Member Stats:
Guest Posters: 1
Members: 775
Moderators: 1
Admins: 6
Forum Stats:
Groups: 13
Forums: 42
Topics: 846
Posts: 3353
Moderators: W Pirkle: 690