IPlug1 and IPlug2. Problem with presets in VST3.

DSP, Plug-in and Host development discussion.
RELATED
PRODUCTS
User avatar
vasyan
KVRist
Topic Starter
315 posts since 17 Feb, 2013 from Sayan Mountains, Siberia

Post Tue Nov 26, 2019 7:10 pm

Hi all! Recently I was looking for a modern and good framework for creating VST plugins, I decided to try IPlug (IPlug1 and IPlug2).
To start, I compiled examples that are included in the package. I was very glad that they compiled without problems in Visual Studio 2019 and then I was able to check the operation of plugins in different DAW.

However, he observed that creating several presets through this:

Code: Select all

MakeDefaultPreset("Default");
MakePreset("Test 1", ...);
MakePreset("Test 2", ...);
...
The presets created in this way appeared in the corresponding list of presets in DAW only in the VST2 version of the plugin. In VST3 version, the list was empty. Tried in different DAW (Reaper 5.984, FL Studio 20.0.5, Studio One 4 and others), in all cases the list of presets was not available in version VST3, in VST2 version everything is good. Problem was detected in IPlug1 and IPlug2.
How do I understand this? As a bug or a flaw in the framework, or did I forget to add something to the code for full functioning?

earlevel
KVRian
609 posts since 4 Apr, 2010

Post Tue Nov 26, 2019 10:39 pm

You need to define VST3_PRESET_LIST, in your .props (and .xcconfig for Mac). Discussion in the wdl forum:

https://forum.cockos.com/showthread.php ... RESET_LIST
My audio DSP blog: earlevel.com

User avatar
vasyan
KVRist
Topic Starter
315 posts since 17 Feb, 2013 from Sayan Mountains, Siberia

Post Wed Nov 27, 2019 2:17 am

earlevel wrote: Tue Nov 26, 2019 10:39 pm You need to define VST3_PRESET_LIST, in your .props (and .xcconfig for Mac). Discussion in the wdl forum:

https://forum.cockos.com/showthread.php ... RESET_LIST
Thank you! :tu:
Everything worked.
Still found these recommendations.

Jeff McClintock
KVRist
391 posts since 30 Jan, 2005 from New Zealand

Post Wed Nov 27, 2019 11:28 am

VST3 plugins by default do not contain presets. The concept is that your presets are shipped as external *.vstpreset files, installed into ../Documents/Vst3Presets/YourCompany/ folder. It's the DAWs job to provide the UI for selecting presets.
The support for 'internal' presets is provided as an optional feature.

Return to “DSP and Plug-in Development”