[LV2] lv2 state#Dirty

Robin Gareus robin at gareus.org
Thu Oct 13 07:42:00 PDT 2016


Hi LV2ers,

If an LV2 plugin has an internal state and that state changes, a host is
non the wiser. The host cannot mark the session as dirty (modified,
needs save).

e.g. Save the session or plugin-preset (marked "clean") then load a new
sample into a synth (using a custom plugin GUI). On the outside nothing
changes. Now close the session, quit the host: The changes are lost
(same for presets or any state that needs saving).

I propose http://lv2plug.in/ns/ext/state/#Dirty which allows a plugin
that has a state interface to notify the host about state changes using
an Atom message:

state:Dirty


  a rdfs:Class ;
  rdfs:label "State modified message" .


Thoughts? Comments are welcome.
robin


PS. if you want to test: A prototype hit ardour-git earlier today,
currently using the URI http://ardour.org/lv2/state#Dirty (subject to
change)


More information about the Devel mailing list