Soul to JUCE GUI

Hey i recently found SOUL, and i’m very impressed :heart_eyes:.
I tried the “soul generate --juce” option" which also works fine, i then created my own AudioProcessorEditor class for the editor, and switched it in the createEditor() function.
How could i do the Slider attachments from there ?
I got it to work manually by using setParameter() on the Processor but i don’t think this is the right way.

Could you tell me how i can connect my AudioProcessorParameters with my Sliders ? or how to access the ValueTreeStateParameter inside my AudioProcessorEditor class ?


1 Like

I had the same problem and I solved it looking inside the juce_GenericAudioProcessoEditor.cpp to discover the implementation of the GenericAudioProcessorEditor.
for my custom AudioProcessorEditor I got the parameters from the getPatchParameters() function of the SOULPatchAudioProcessor.
I don’t know if this is the proper solution, but it worked for me.