[LAD] LV2 Achievement of GMPI Requirement

David Robillard d at drobilla.net
Thu Aug 9 14:39:47 UTC 2012


On Wed, 2012-08-08 at 05:59 -0400, Jeremy Salwen wrote:
>         The plugin indicating it's bindings is the *only* thing to do
>         here.
>         Otherwise, the host can just bind however it wants.
>         
>         It is a simple idea much older than that thread, just nobody
>         has done it
>         yet.  Doing it statically is trivial: just set properties on
>         ports to
>         indicate their binding.
> 
> Absolutely. This is exactly what I'd like to do.  Is there a reason we
> shouldn't implement this before we figure out the more complicated
> scenarios?

I have added the property midi:binding, i.e.
http://lv2plug.in/ns/ext/midi#binding , to the MIDI extension.  As far
as specs go, this is all that is required.

It is not documented online yet because the docs are not uploaded until
release, but it is in svn and you can build those docs if you want, but
essentially they boil down to the example:

port midi:binding [
    a midi:Controller ;
    midi:controllerNumber 17
] .

Have fun.

-dr


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20120809/2683bc7e/attachment.pgp>


More information about the Linux-audio-dev mailing list