<br><br><div class="gmail_quote">On Thu, Aug 9, 2012 at 10:39 AM, David Robillard <span dir="ltr"><<a href="mailto:d@drobilla.net" target="_blank">d@drobilla.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On Wed, 2012-08-08 at 05:59 -0400, Jeremy Salwen wrote:<br>
> The plugin indicating it's bindings is the *only* thing to do<br>
> here.<br>
> Otherwise, the host can just bind however it wants.<br>
><br>
> It is a simple idea much older than that thread, just nobody<br>
> has done it<br>
> yet. Doing it statically is trivial: just set properties on<br>
> ports to<br>
> indicate their binding.<br>
><br>
> Absolutely. This is exactly what I'd like to do. Is there a reason we<br>
> shouldn't implement this before we figure out the more complicated<br>
> scenarios?<br>
<br>
</div></div>I have added the property midi:binding, i.e.<br>
<a href="http://lv2plug.in/ns/ext/midi#binding" target="_blank">http://lv2plug.in/ns/ext/midi#binding</a> , to the MIDI extension. As far<br>
as specs go, this is all that is required.<br>
<br>
It is not documented online yet because the docs are not uploaded until<br>
release, but it is in svn and you can build those docs if you want, but<br>
essentially they boil down to the example:<br>
<br>
port midi:binding [<br>
a midi:Controller ;<br>
midi:controllerNumber 17<br>
] .<br>
<br>
Have fun.<br>
<span><font color="#888888"><br>
-dr<br>
<br>
<br>
</font></span></blockquote></div>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?<br>
<br>Jeremy<br>