COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :

Go Back   Cockos Incorporated Forums > Other Software Discussion > WDL users forum

Reply
 
Thread Tools Display Modes
Old 03-27-2019, 11:38 AM   #1
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 396
Default Cakewalk/SONAR does not load last preset in VST3 preset dropdown - SOLVED

I have a VST3 plugin with 4 built in presets (3 custom plus the default).

I have 4 programs defined (const int kNumPrograms = 4)

I have "VST3_PRESET_LIST" listed in the .props and .xcconfig files.


It works everywhere EXCEPT Cakewalk/SONAR. In that host only 3 of the four presets work - the fourth preset loads the preset name but no parameters. Debugger shows nothing is called when switching to program 4 (my Reset() function gets called when loading all the others).

The VST2 version of the plug loads all 4 programs.

If this is a bug in iPlug VST3 somewhere why does it only show up in Cakewalk/SONAR. Anyone else come across this?

Last edited by Nonlinear; 06-23-2020 at 09:06 AM.
Nonlinear is offline   Reply With Quote
Old 06-18-2020, 07:35 PM   #2
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 396
Default

I have never been able to figure out what causes this and assumed it was an issue in Cakewalk/SONAR - but other developer's VST3 plugins work correctly so...

The LAST preset in my "MakePresetFromNamedParams()" list does not load in Cakewalk. The preset NAME loads but the parameters do not. The plugin works properly in Cubase, Reaper, etc.

VST2 presets all load fine in Cakewalk - so this must be a problem in either Cakewalk itself or something's wrong in one of iPlug's VST3 files.

I have been "working around" this issue by creating an "Empty" preset at the end of the presets list with all default settings. It works but it's a "band aid".

Any ideas where to look to fix this issue greatly appreciated!

Last edited by Nonlinear; 06-20-2020 at 04:00 PM.
Nonlinear is offline   Reply With Quote
Old 06-23-2020, 09:05 AM   #3
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 396
Default

Found the FIX for this but for some reason I never got to the last page to see what it was: https://forum.cockos.com/showthread....ht=vst3+reaper

"Earlevel's" changes FIXED it! Thank you, Earlevel!
Nonlinear is offline   Reply With Quote
Old 06-23-2020, 10:57 PM   #4
earlevel
Human being with feelings
 
Join Date: Dec 2015
Posts: 331
Default

Quote:
Originally Posted by Nonlinear View Post
Found the FIX for this but for some reason I never got to the last page to see what it was: https://forum.cockos.com/showthread....ht=vst3+reaper

"Earlevel's" changes FIXED it! Thank you, Earlevel!
Awesome!
earlevel is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.