I’m still learning here so I hope that question is not dumb…
So far I’m managing all my Sliders and Comboboxes using the AudioProcessorValueTreeState as explained in this tutorial. Of course I’ve set up my AudioProcessor to inherit from AudioProcessorValueTreeState::Listener and I override the parameterChanged callback in my AudioProcessor too.
So far so good, everything works fine.
Now I’ve added a TextButton and set up a ButtonAttachment (the same way I’ve done it before with the Sliders and ComboBoxes). However, when I press the button the parameterChanged function is not called.
Why is that and how do I make this work?