Shared class between processor & editor


Looks like the processor and editor are completely separated in VST3. That’s a real showstopper for me. I need to create my “synth” class when the processor is instantiated, since it holds all model parameters (I don’t expose all parameters to the host, there are thousands of parameters already). and I need to share this “synth” class with the controller.

How can I share this “synth” class between the processor and the controllers?


If you cannot separate your DSP model from the UI, then you can implement IEditController and IAudioProcessor in one class. There’s an example base class in the SDK: SingleComponentEffect
Please also read the limitations with this design: VST 3 API Documentation - VST - Steinberg Developer Help

Thanks Arne! reading that part now