i am trying for a few days now to store a unique string (IP Address) for each plugin instance. The most comfortable option would be to use the AudioProcessorValueTreeState and just add a property. But the problem here is that the host does not differentiate between the instances of the plugin. I am using VST and Cubase for my test. When i close and reopen the session each plugin has the same ID. There is a post here on the forum that the host has access to the parameters and can handle them different than what
Another option would be to write the string to a file in the user directory but then again there is an option needed to know which string belongs to which instance. I tried the Uuid class as a AudioProcessor member but it is not constant either when the plugin is reloaded.
I am not sure if the MemoryBlock class could be used and then recreate the
Could anybody give me a hint how to do this? I really tried to find a solution but i couldn´t come up with something that actually works so far.