There is already an extension for this:<br><a href="http://ll-plugins.nongnu.org/lv2/ext/midimap/">http://ll-plugins.nongnu.org/lv2/ext/midimap/</a><br><br>I'm using it in my (experimental) host, where all parameters are automable via midi CC.<br>
The plugins that provide such information (currently only DSSI ones and sineshaper-LV2) will have pre-set midi CC automation ready.<br><br><div class="gmail_quote">On Mon, Jan 16, 2012 at 5:26 AM, Ricardo Wurmus <span dir="ltr"><<a href="mailto:ricardo.wurmus@gmail.com">ricardo.wurmus@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I wonder what would be the preferred way to assign MIDI controllers to<br>
control ports. Currently, I hard-code MIDI controller numbers and<br>
respond to CCs internally, but this doesn't feel right. One problem is<br>
also that the host-generated GUI doesn't update its state when this is<br>
done.<br>
<br>
Does mapping MIDI CCs to plugin parameters actually belong to the<br>
host? If it should be done in the plugin, what is the preferred way to<br>
allow  users to modify the mapping? Could this be done in preset files<br>
for the plugin?<br>
<br>
-- rekado<br>
_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.lv2plug.in">Devel@lists.lv2plug.in</a><br>
<a href="http://lists.lv2plug.in/listinfo.cgi/devel-lv2plug.in" target="_blank">http://lists.lv2plug.in/listinfo.cgi/devel-lv2plug.in</a><br>
</blockquote></div><br>