Avatar

Please consider registering
Guest

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
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
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: 36

Currently Online:
4 Guest(s)

Currently Browsing this Page:
2 Guest(s)

Top Posters:

Skyler: 47

Peter: 41

Derek: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 476

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 30

Topics: 482

Posts: 1876

Newest Members:

sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 143

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 143