Hi there! I’ve been integrating VSTPlugin.ar on our software system (GitHub - PlaymodesStudio/ofxOceanodeSuperCollider: ofxOceanode helpers for interfacing with SuperCollider) with great success. It is a great tool (thanks @Spacechild1 !!), very well done and documented.
But i just found a limitation (although maybe the limitation is mine, and that’s why i ask here!) on certain scenarios related to fxp saving/loading. Specifically, when working with complex VSTs (I’m trying this with reaktor loading a big ensemble like the TRK-01 beat machine), it seems i can suceesfully save fxp data, but when reloading this fxp i get this error message:
ERROR: couldn’t read program: fxProgram: too little data
Failed to load preset: /path/to/my/preset.fxp
And then the saved fxp wont be loaded and the state of the vst wont be recalled.
Is this a known limitation?
Or maybe i’m doing something wrong?
I tried to save/load an fxp for the same reaktor vst+ensemble in Reaper,
and it worked correctly, so i’m assuming maybe the implementation lacks some of the features needed for saving complex states (maybe paths to sample files? or too many parameters?)
Any known work-around for this? or maybe some tips pointing to the proper direction to fork VSTPlugin.ar sources and try to overcome this limitation with my spaghetti coding?
thanks!!!