[LV2] State example?

hermann meyer brummer- at web.de
Sat Mar 16 07:53:59 PDT 2013

Am 16.03.2013 15:28, schrieb Harry van Haaren:
> On Sat, Mar 16, 2013 at 12:08 PM, hermann meyer <brummer- at web.de 
> <mailto:brummer- at web.de>> wrote:
>     Is there somewhere a simple example of how to use the state
>     extension to save and restore port values?
> The docs are awesome for state. It provides a minimal C function that 
> does what it should.
> All you need to do with it is replace the the URI's and data.
> http://lv2plug.in/ns/ext/state/
> I have some example code if you wish, but those docs are better :)
> HTH, -Harry
Hi Harry

Well I have found this docs, but they didn't help me.
If you could provide example code, that will be very welcome.

I just wane save and load presets via the host, eg. ardour3. I just need 
to store simple port values, nothing to add from the plug internal, so 
just the values the host have already.
Unfortunately ardour3 save only garbage (for my plug) when I save a 
preset in it. Some values get restored when loaded, but just some. The 
preset file which ardour3 produce isn't in a human readable format, like 
those produced for calf, for example.

Here is one of those crap.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20130316/d5c86c72/attachment-0002.htm>

More information about the Devel mailing list