hey there everyone,<br><br>I've been working a new LV2 extension with Rui (a.k.a. rncbc, Qtractor's developer) regarding midi-programs.<br>The purpose is simple - allow to plugin to tell the host about his midi-programs, and the host to change them on the fly.<br>
<br>Currently LV2 Presets are managed by the host, and the plugin has no control over them.<br>Although it is possible to collect all presets related to a plugin and map them to ints for this, it's not in any sense pratical.<br>
(The host would have a lot of work ensuring a session presets 100% match another session, as LV2 presets can be changed at anytime by the user).<br><br>A simple and easy solution is a C API similar to the DSSI get/select_program.<br>
The plugin tells the host which midi-programs it has available, and allows the host to select one.<br><br>The spec is still in draft and being tested at the moment (although already works in it's base form).<br>I've reserved a namespace on my page for it (as I don't expect this to be fully accepted by we know who...)<br>
<br>May I preset you, LV2 Programs extension:<br><a href="http://kxstudio.sourceforge.net/ns/lv2ext/programs/">http://kxstudio.sourceforge.net/ns/lv2ext/programs/</a><br><br>Don't pay too much attention in the text of the C header, it was originally copied from the DSSI API.<br>
Remember this is still a draft.<br><br><br>Comments welcome!<br>thanks<br><br>