[LAD] LV2 Achievement of GMPI Requirement

Jeremy Salwen jeremysalwen at gmail.com
Fri Aug 24 07:52:45 UTC 2012


On Thu, Aug 9, 2012 at 10:39 AM, David Robillard <d at drobilla.net> wrote:

> 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
>
>
> Thanks, that's all I wanted.  I'm going to add support to my host (and
relevant plugins).  However, what should be done for the case of plugins
with multiple MIDI inputs?  Is this beyond the use-case of midi binding, or
should the extension be expanded to specify which event port it is
referring to?

Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20120824/d44b2c32/attachment.html>


More information about the Linux-audio-dev mailing list