AudioProcessorValueTreeState from SOULPatchAudioProcessor

hello everybody and as usual I apologise in advance if my question is basic and silly, but maybe this can help somebody else as I have been thinking about this for a couple of days.
So I got my SOULPatchHostDemo running and I was able to use a customGUI for my SOUL patch (and that’s really good) but now I cant understand what is the proper way to get the data for an AudioProcessorValueTreeState (that I think I would need for undo and save sates)
do I have to get the parameters from the getPatchParameters() function? or better to get the ValueTree from the getUpdatedState() ? or none of the two?
I thank you in advance for the help and for the beautiful SOUL language.
d

1 Like