DPF icon indicating copy to clipboard operation
DPF copied to clipboard

VST3: cannot set parameters on Reaper/Linux

Open lucianoiam opened this issue 4 years ago • 7 comments

Since this plugin format needs some work on Mac and Windows I started by testing it on Linux which is probably the reference platform; VST3 Parameters example works great on Carla indeed.

On Reaper/Linux found the following (again in Parameters):

  • UI works as expected
  • Updating a parameter using Reaper generic UI is reflected next time UI is opened
  • Updating a parameter from the custom plugin UI does not have any effect in the generic UI

In other words VST3 plugins cannot update parameters for the Reaper host. First spotted this in a plugin of my own.

I debugged up to requestParameterValueChange() (DistrhoPluginVST3.cpp) and all seems good, begin_edit and perform_edit returning V3_TRUE.

Any hint on how to further debug this?

lucianoiam avatar Oct 18 '21 18:10 lucianoiam

tbh I did the UI -> DSP communication all wrong. have to rework it but this part should work... I would look into what juce does related to host, how it notifies the host of ui parameter changes.

falkTX avatar Oct 18 '21 19:10 falkTX

That is a good idea, thanks. I need to read how VST3 works as well lol.

lucianoiam avatar Oct 18 '21 19:10 lucianoiam

This should be fixed now, confirmation would be most welcome

falkTX avatar Dec 29 '21 21:12 falkTX

Sadly it still seems broken, just tested c2f66ac on Reaper/Mac:

  1. Open d_parameters.vst3 UI
  2. Click top-left (make it orange)
  3. Switch to Reaper generic UI
  4. Top-left is zero

lucianoiam avatar Apr 08 '22 12:04 lucianoiam

VST3 is also broken on Ableton (can see the plugin but can't load it).

cmarabotto avatar Jun 13 '22 19:06 cmarabotto

we need to check this again after latest vst3 fixes in dpf.

falkTX avatar Aug 08 '22 21:08 falkTX

and it is still broken.

it behaves properly in other hosts like Carla and FLStudio though.

falkTX avatar Aug 08 '22 21:08 falkTX

Should be fixed with latest code now, I verified with https://github.com/trummerschlunk/master_me that things generally seem to work there.

falkTX avatar Sep 02 '22 10:09 falkTX

Just repeated this on Reaper+Linux and it now works great; maybe it is time to close the ticket.

1. Open d_parameters.vst3 UI

2. Click top-left (make it orange)

3. Switch to Reaper generic UI

4. Top-left is zero

lucianoiam avatar Sep 09 '22 12:09 lucianoiam

I suspected as such, thanks for confirming!

falkTX avatar Sep 09 '22 12:09 falkTX