Hi everyone,
I’ve been following along the tutorials on ValueTrees, saving and loading the plug-in state.
Although I’ve been following along solidly, I have one small ambiguity that I can’t seem to solve. In the tutorial, both the processor and editor have their own AudioProcessorValueTreeState
. The editor has one called “parameters”, and the processor has one called" valueTreeState".
I cannot seem to find the point where the two link/communicate. That is, how does the editor relay the information to the processor regarding this? As far as I can see, in the example code, the editor never directly references the processors AudioProcessorValueTreeState
, or vice versa.
Are the two instances essentially the same, pointing to the same object in a way?
I would greatly appreciate any clarification.