Hi, I am working on a plugin in which I want the user to be able to add or remove voices. Every voice has a voice editor with some slider components that I would like to add a valuetree parameter for when the voice is created. However, after initialising the tree.state and trying to add a parameter later on, I get this jassert:
All parameters must be created before giving this manager a ValueTree state
Is there a way to be able to add parameters to a valuetree after setting the AudioProcessorValueTreeState.state? Or would the only workaround be to add a certain amount of parameters beforehand?