DSP Module Plugin Demo AudioProcessorEditor addition

You should add:

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


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.



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())…


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