I’m not sure how to load in external plugin states, nor the format that JUCE expects for them.
Does anybody have any information on the correct format of data passed into PluginInstance::setStateInformation?
It has to be the binary data that was previously generated by getStateInformation from the plugin instance. For the host, the actual data format is opaque (unknown), unless you happen to also have the plugin’s source code available or know by some other means what the data actually contains.
1 Like
I managed to figure it out, it’s possible to use the VSTPluginFormat::loadFXP() function to load the external plugin state. I found that setting the memory chunk resulted in distorted values.
1 Like