Skip to content

VST3: setting "Curent Program" does not work if DPF_VST3_USES_SEPARATE_CONTROLLER is set #490

@atsushieno

Description

@atsushieno

I'm trying to build a proof-of-concept General MIDI sampler plugin using DPF with WebView UI and TinySoundFont. I'm hitting various issues so far, and would like to fix one by one.

In my plugin I have 128 presets which seems correctly initialized at initProgramName(). They are exposed as presets, and on VST3 they are exposed as parameter # 0. But changing the parameter somehow does not affect the DSP if DPF_VST3_USES_SEPARATE_CONTROLLER is set.

If I set DISTRHO_PLUGIN_WANT_DIRECT_ACCESS=1 this problem goes away. But I do not want to do this (especially because it affects LV2 build as well). Also, other parameters work fine.

I suspect some code in or around PluginVST3::setParameterNormalized() but not sure.

My repro project is at https://github.com/atsushieno/usf2plugin (using DPF @ 576b507).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions