Thanks, I’ll give this a try. I noticed that the compilation errors around “dsp” happened simply when I added the GUI magic module to my JUCE project, before making any explicit code changes. I’m just going through this one step at a time. Eventually I will probably have no choice but to understand all the ins and outs of VST and JUCE internals.
I rebuilt the CPP using the -scn flag as suggested by @sletz (hey, are you following me? ) and the compilation errors disappeared. Now to make all the other changes again to enable the functionality.
Great, it is getting there.
From PGM side you can (read: should) remove the foleys::MagicProcessorState. There is already one in the foleys::MagicProcessor you inherited. And you can access it in your processor as magicState.
It seems you removed the getStateInformation and setStateInformation from the implementation, but not from the declaration. You need to remove them from the header as well. Those methods are declared and implemented in the base class foleys::MagicProcessor already.
Well, a quick fix if you want the default GUI you can add in your constructor:
auto defaultGUI = magicState.createDefaultGUITree();
That should also bring up all parameters as sliders. You can start reorder things there and play around.
If you saved your tree using the file menu, you can add that xml file to the binary data and call instead: