January 29, 2017
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.
Most Users Ever Online: 36
Currently Browsing this Page:
Guest Posters: 1
Newest Members:Matt, dspstudent, strings4v, TheSmile, semihyavuzz, alfredLue, danioc, midnightskate3, Alia5, Shamal Sundar
Moderators: W Pirkle: 208
Administrators: Tom: 67, JD Young: 80, Will Pirkle: 0, W Pirkle: 208