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 sp_TopicIcon
Adding User Variables for Presets
No permission to create posts
January 9, 2015
12:08 am
W Pirkle
Forum Posts: 187
Member Since:
January 29, 2017
sp_UserOnlineSmall Online

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: 36

Currently Online: W Pirkle
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 41

Peter: 41

Frodson: 40

clau_ste: 39

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

JimmyM: 17

Member Stats:

Guest Posters: 1

Members: 495

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 31

Topics: 511

Posts: 1966

Newest Members:

CoraDias, Edoardo, knooierd, daniel, Merril Bradshaw, BillPlunkett, Pajczur, michaelwayneharwood, RickM, rainbow wind

Moderators: W Pirkle: 187

Administrators: Tom: 66, JD Young: 80, Will Pirkle: 0, W Pirkle: 187