[LV2] LV2 Programs extension

Filipe Lopes falktx at gmail.com
Fri May 4 09:35:06 PDT 2012


Note that the API is not complete yet, it's still a draft.

In the future I want the plugin to have a way to tell the host "recheck my
programs now" and "program x:y changed name, please refresh",
which can't be done with MIDI messages.

There might be are other useful features an extension can do that MIDI
cannot.

On Fri, May 4, 2012 at 5:16 PM, David Robillard <d at drobilla.net> wrote:

> On Fri, 2012-05-04 at 17:08 +0100, Filipe Lopes wrote:
> > hey there everyone,
> >
> > I've been working a new LV2 extension with Rui (a.k.a. rncbc,
> > Qtractor's developer) regarding midi-programs.
> > The purpose is simple - allow to plugin to tell the host about his
> > midi-programs, and the host to change them on the fly.
> >
> > Currently LV2 Presets are managed by the host, and the plugin has no
> > control over them.
> > 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.
> > (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).
>
> Programs are not at all like presets.  They are more like an enumeration
> control.
>
> > A simple and easy solution is a C API similar to the DSSI
> > get/select_program.
> > The plugin tells the host which midi-programs it has available, and
> > allows the host to select one.
> >
> > The spec is still in draft and being tested at the moment (although
> > already works in it's base form).
> > I've reserved a namespace on my page for it (as I don't expect this to
> > be fully accepted by we know who...)
> >
> > May I preset you, LV2 Programs extension:
> > http://kxstudio.sourceforge.net/ns/lv2ext/programs/
>
> Select program with a function is completely silly.  Use MIDI, then
> there is no need for that function, or the UI extension whatsoever,
> since hosts already need to implemented the ability to send that from
> the UI.
>
> -dr
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20120504/41e89db9/attachment-0002.htm>


More information about the Devel mailing list