So I’ve been working on a basic plugin that uses the juce::dsp::IIR filter, however after setting up parameters using AudioProcessorValueTreeState, the UI won’t show.
I’ve tracked down the problem to the following 2 lines, when I comment them out, the UI appears on plugin load, and I can control the parameters via Ableton’s own sliders.
If I add them back in, the UI doesn’t show up, and the button in Ableton to trigger the UI disappears.
cutoffVal = new juce::AudioProcessorValueTreeState::SliderAttachment(audioProcessor.tree, "cutoff", cutoffSlider);
resoVal = new juce::AudioProcessorValueTreeState::SliderAttachment(audioProcessor.tree, "resonance", resoSlider);
It could have many reasons, but I doubt it’s those lines at fault.
My guess would be you have some Slider::Listeners which go in an infinite update cycle never returning?
Try removing all other slider listeners.