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 Topic RSS sp_TopicIcon
Adding User Variables for Presets
Avatar
W Pirkle
Admin
January 9, 2015 - 12:08 am
Member Since: January 29, 2017
Forum Posts: 344
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: 55

Currently Online:
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Frodson: 45

Peter: 41

clau_ste: 39

TheSmile: 37

JimmyM: 33

Gwen: 32

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 565

Moderators: 1

Admins: 4

Forum Stats:

Groups: 12

Forums: 36

Topics: 581

Posts: 2326

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