Adding User Variables for Presets | For RackAFX Power Users | Forum


Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Adding User Variables for Presets
January 9, 2015 - 12:08 am
Member Since: January 29, 2017
Forum Posts: 693
sp_UserOfflineSmall Offline

RackAFX v6.5 contains a new feature that allows you to add your own user-variables. These variables are added to your C++ project for you and are loaded and saved as Presets, but they do not connect to any GUI controls. This allows you to store non-GUI information in Presets. This is useful for shared controls where a switch is used to re-use controls. For example, you might have a set of the EG's ADSR controls in a synth plugin. You then use another slider/switch/radio button bank to switch the EG controls from Pitch to Filter to Output Amplifier. In this way, you conserve space on the GUI. In previous versions of RackAFX, the only variables that would be stored and loaded as presets were the GUI variables; now you can create ADSR variables for the other elements and store/load these too. To create these variables:

Plugin->Add/Remove User Variables

You can then choose the datatype (float, int, double, UINT) and name the variable and set the initial value. The reset of the variable maintenance is up to you. This is a feature many students have asked for as it makes the presets much more useful for shared or split controls.

NOTE: see the topic below regarding sendUpdateGUI( ) as it is required to update the GUI controls when the user switches their functionality.

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
4 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: 2

Members: 784

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 850

Posts: 3372

Moderators: W Pirkle: 693