number of presets in .vst/.dll & file load/save mechanism | 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
number of presets in .vst/.dll & file load/save mechanism
November 24, 2016 - 11:02 pm
Member Since: November 1, 2016
Forum Posts: 32
sp_UserOfflineSmall Offline

Hello !

in Rackafx you can create/save & load any presets you want, but when you wrap with "make VST" only 16 presets are "exported".
Why ?

So if i create more than 16 presets in rackafx, is it possible to reinject them in my vst wrapped file before compiling with VS ?

For synth, is it possible to create a file load/save (presets) & export/import (.fxp/.fxb) mechanism with GUI based on the CustomDropList ?

is it possible to "link" the preset names with the Drop List (COptionMenu) to see them on GUI (like a preset LCD sreen on synth) ?



November 24, 2016 - 11:27 pm
Member Since: January 29, 2017
Forum Posts: 689
sp_UserOfflineSmall Offline

Hi Gwen

The 16 preset limit goes back many years when RackAFX plugins could be native VST2 plugins (before the VST3 API existed). The problem had to do with loading times. In VST2, when you loaded the plugin, the host would test every preset, so if you had a lot of presets, the plugin would load slowly, or even appear to hang. Although there was an alternative way around this (called "chunks") by the time my first book was published, I didn't want to change the RAFX API and break the pre-existing code. So, that is legacy stuff.

And, yes several of my users have implemented their own presets, using the drop-down list (COptionMenu) to reveal and select the presets. You need to create your own mechanism for storing the presets (using objects or structures to store the variable settings for each preset). However, the .fxp/.fxb paradigm is only for VST clients, though you could implement it yourself with some work (see the CFileSelector in VSTGUI, which reveals the Open File dialog in a platform independent way). But, these presets would not be available for AU or AAX projects. I believe that Fred Siepe (see the Odom Synth GUI in the GUI Gallery) implemented his own presets that work in any API.

Also, just FYI, I am working on a secret RAFX2 API for future book releases. One of the features of this API will be unlimited presets. However, this will not be available for at least another year.

- Will

November 25, 2016 - 3:11 pm
Member Since: November 1, 2016
Forum Posts: 32
sp_UserOfflineSmall Offline

Hello will !
thanks for answer.

Yes i remember reading something about Chunks when i was studying C++ (some systems like WDL use it) to implement a squared drod down list zone that could do this.

Some VST synths (Arturia for example, But also many others) has hundred and/or thousand presets. Maybe the cause that these plugins are long to open. Especially since most users do not use all of these presets. 16 presets is not enough, hundreds / thousands is too much 😀

Yes fxp/fxb is only for Win; but i don't work at this time on Mac. I have no Apple products so i can't create AU version of my plugins.

i tried to find Fred Siepe's mail but i didn't find it.


Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
3 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: 1

Members: 768

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 842

Posts: 3347

Moderators: W Pirkle: 689