DSP Module Plugin Demo AudioProcessorEditor addition

You should add:

cabinetSimButton.setToggleState (processor.cabinetSimParam->get(), NotificationType::dontSendNotification);

and

oversamplingButton.setToggleState (processor.oversamplingParam->get(), NotificationType::dontSendNotification);

to the constructor (lines 125 and 130) so if the Editor is closed and re-opened the button state is retained.

Cheers,

Rail

Good point, I’ll add that

BTW - Would you really call updateParameters() in processBlock() ?

updateParameters() is called in prepareToPlay()… and I could see it being called when a parameter is adjusted (on valueChanged())…

Rail

Yeah it could probably be improved. We’ll be cleaning up and updating all the examples soon so I’m sure this will get picked up