<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Am 16.03.2013 17:38, schrieb hermann meyer:
    <blockquote cite="mid:5144A01E.2080303@web.de" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Am 16.03.2013 16:23, schrieb Harry van Haaren:
      <blockquote
cite="mid:CAKudYbNWMHkJFZ9Hqf8+Oenx7-gXd=gU9qoDafMXuvpMmJ90TA@mail.gmail.com"
        type="cite">
        <div class="gmail_quote">On Sat, Mar 16, 2013 at 2:53 PM,
          hermann meyer <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:brummer-@web.de" target="_blank">brummer-@web.de</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex"> I just
            need to store simple port values, nothing to add from the
            plug internal  <br>
          </blockquote>
        </div>
        <br>
        Oh, simple control ports should work automatically. That's a bug
        somewhere in Ardour / somewhere else.<br>
        Perhaps save a test preset with Jalv, and see if it can restore
        its state properly?<br>
        <br>
        The State extension is for saving filenames (or other
        "non-control-port" values) that a plugin needs to restore the
        state.<br>
        <br>
        Sorry for the misunderstanding, -Harry<br>
      </blockquote>
      <br>
      Thanks for your help Harry, well it is indeed a mess with those
      LV2 preset behavior.<br>
      Indeed jalv save presets correct, but the resulting preset is
      missing a label<br>
      <blockquote type="cite">Preset <a moz-do-not-send="true"
          class="moz-txt-link-rfc2396E"
          href="file:///home/brummer/.lv2/default.lv2/default.ttl"><file:///home/brummer/.lv2/default.lv2/default.ttl></a>
        has no rdfs:label</blockquote>
      <br>
      when I add per hand to the file<br>
      <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
        href="http://guitarix.sourceforge.net/plugins/gx_amp#GUITARIX#default"><http://guitarix.sourceforge.net/plugins/gx_amp#GUITARIX#default></a><br>
      <br>
      the preset works.<br>
      <br>
      Ardour3, saves the preset after some times trying correct. Mostly
      when the session is quit, in the next started session load the
      preset (which makes it half the way, and press save some times. <br>
      The result is a functional preset. <br>
      <br>
      Umpf, <br>
    </blockquote>
    <br>
    So, after I have #included "lv2/lv2plug.in/ns/ext/presets/presets.h"<br>
    in my plug header, presets are saved by ardour3 as suspected. <br>
    <br>
    What makes it a bit strange is, that "just saved" presets can't be
    loaded in the same session, they are available only in the next
    started session. I guess a dir reload after save will do the trick
    for ardour.<br>
    What makes it nice is that qtractor use the same preset dir so that
    presets are available in qtractor to. <br>
    <br>
    However, I'm happy to get it work lately- <br>
    hermann<br>
  </body>
</html>