DSP Module Plugin Demo AudioProcessorEditor addition


#1

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


#2

Good point, I’ll add that


#3

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


#4

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