November 1, 2016
in Rackafx you can create/save & load any presets you want, but when you wrap with "make VST" only 16 presets are "exported".
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) ?
January 28, 2017
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.
November 1, 2016
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.
Most Users Ever Online: 55
Currently Browsing this Page:
Guest Posters: 1
Newest Members:LamebrainEddy, SteveThackery, rawbirdtoe, Bill, hill william, NAUN_SONAR, sufy, Diane, Richard, drvenkman
Moderators: W Pirkle: 259
Administrators: Tom: 67, JD Young: 80, Will Pirkle: 0, W Pirkle: 259