VST3 and how to save selected preset in host project?

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

I save preset in my custom file format and I want save index of selected preset in to host. I thought, save Index as paramater automation, but I don't know if it is good idea, because from documentation, all parametres have value form 0.0 to 1.0. Any ideas?

For example some synths / samplers save preset as custom file and they not expose preset list under hosts VST window, but when some preset is selected (from GUI) it is saved with host project. I want to do same.

Post

From host point of view your plugin saves its data in project as opaque byte array. You can save there whatever you want, not only parameter values. So just make that preset index additional integer in that byte array. There is no need to expose preset number as parameter.

Post

How can I obtain this byte array?

Post

Ok I got it.

Post Reply

Return to “DSP and Plugin Development”