[LV2] how to supply a large number of factory presets with a plug-in

Nick Dowell nick at nickdowell.com
Wed Apr 3 12:36:29 PDT 2013


On 31 Mar 2013, at 22:47, Harry van Haaren <harryhaaren at gmail.com> wrote:

> On Sun, Mar 31, 2013 at 6:31 PM, David Robillard <d at drobilla.net> wrote:
> <http://example.org/somebank>
>     a pset:Bank ;
>     rdfs:label "Bank of Americon" ;
>     pset:bankEntry [
>         pset:preset <http://example.org/preset1> ;
>         lv2:index 0 ;
>     ] , [
>         pset:preset <http://example.org/preset2> ;
>         lv2:index 1 ;
>     ] .
> 
> I think this is the best solution if we can make the "index" an optional tag.
> That way simple preset banks don't have to specify an order, but if its
> wanted its possible.
> 
> I value being able to include a preset in multiple banks, so the 3rd option is a -1 from me.

Agreed. I value the ability to specify the order of presets within a
bank quite highly, making this the most suitable solution for me.

Would it be bad form to infer the ordering of presets by the order in
which they appear in the list, rather than requiring an lv2:index?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20130403/77ba4ea6/attachment.htm>


More information about the Devel mailing list