> Are there other competing formats or is Ardour's preset format the one to
> use? How about other LADSPA hosts; snd, GLAME, gdam, etc - do you support
> LADSPA-presets?


  gdam saves in an xml format. searching the lad 
  archive at the time, i couldn't find a final
  specification, but i followed the
  suggestions which were made.  appended is
  an xml fragment.  the Ladspa-Plugin-Settings
  is a named collection of port values for
  one or more plugins.  we also use 
  Ladspa-Plugin-Settings for the root node.

  -geoff


<!-- various numbered presets for one ladspa filter. />

<Ladspa-Plugin-Settings>
  <Ladspa-Plugin-Settings preset_name="0">
    <Plugin plugin_id="1186" name="Audio divider (suboctave generator)">
      <Control-Port index="0" name="Denominator" value="3.000000"/>
    </Plugin>
  </Ladspa-Plugin-Settings>
  <Ladspa-Plugin-Settings preset_name="1">
    <Plugin plugin_id="1186" name="Audio divider (suboctave generator)">
      <Control-Port index="0" name="Denominator" value="4.000000"/>
    </Plugin>
  </Ladspa-Plugin-Settings>
  <Ladspa-Plugin-Settings preset_name="2">
    <Plugin plugin_id="1186" name="Audio divider (suboctave generator)">
      <Control-Port index="0" name="Denominator" value="6.000000"/>
    </Plugin>
  </Ladspa-Plugin-Settings>
</Ladspa-Plugin-Settings>


<!--  a preset "default" which sets any plugin to passthrough />

<Ladspa-Plugin-Settings>
  <Ladspa-Plugin-Settings preset_name="default">
    <Plugin plugin_id="1062" name="Feedback Delay Line (Maximum Delay 60s)">
      <Control-Port index="0" name="Delay (Seconds)" value="0.000000"/>
      <Control-Port index="1" name="Dry/Wet Balance" value="0.000000"/>
      <Control-Port index="2" name="Feedback" value="0.000000"/>
    </Plugin>
    <Plugin plugin_id="1182" name="Mono Overdrive">
      <Control-Port index="0" name="Amps limit (in dB relative to nominal 0)" va
lue="0.000000"/>
      <Control-Port index="1" name="Drive level" value="0.000000"/>
      <Control-Port index="2" name="Low density colouration" value="0.000000"/>
      <Control-Port index="3" name="High density colouration" value="0.000000"/>
    </Plugin>

    ...

  </Ladspa-Plugin-Settings>
</Ladspa-Plugin-Settings>





Reply via email to