[LV2] Plugin instance ID

Hanspeter Portner dev at open-music-kontrollers.ch
Tue Aug 25 05:02:50 PDT 2020

Am 25.08.20 um 13:28 schrieb Iurie Nistor:
> Is there a way I can get the LV2 plugin instance ID? I mean when
> the user adds the plugin into the track, is there any ID associated to 
> this added instance, and
> remains the same even after restarting the host?
> I want to use this ID to store settings about the plugin instance. 
> Actually, this can be stored
> into the plugin state, but I am not sure if this is right because I want 
> to store things like
> last directory visited by the user when browsing (with plugin UI) presets
> or samples, and this to be saved per plugin instance.

Keep in mind that plugin presets should be self-contained, so they can
be shared with your friends. Putting absolute local paths into presets
thus makes no sense in the first place.

More information about the Devel mailing list