Re: [linux-audio-dev] Re: LADSPA Extension for Extra GUI Data

From: Dave Robillard <drobilla@email-addr-hidden>
Date: Mon Jun 19 2006 - 20:57:47 EEST

On Mon, 2006-06-19 at 07:51 +1000, Jez Kabanov wrote:
> > This is handled in LADSPA+RDF and LV2 (aka LADSPA2) using scalePoints, eg.
> > http://lv2plug.in/plugins/Amp-example.lv2/amp.ttl, search for
> > lv2:scalePoint. That one's a silly example, but it makes the point.
> >
> > Things like "-4 semitones" will be handled by a units extensions, which
> > will also allow hosts to use things like native gain control sliders for
> > decibel ports, and BBT controls for time inputs.
> >
> > This idea is better in some ways, though though overall I prefer doing it
> > though description, rather than programatically.
> >
> > - Steve
>
> hmm, wouldn't that mean you need to code something (or include another
> library) to parse all that description language making it difficult for
> the host coder, and requires learning of a new language for the plugin
> developer. seems much simpler and quicker for a plugin developer and host
> developer to use a simple callback.
> but the localisation is a good idea, but couldn't be handled via gettext
> in the usual manner.
>
> the advantage of this method is that it can achieve these goals without
> breaking compatibility, further extensions can be added simply by adding
> another "layer" of API like this and DSSI do which can be queried by the
> host as needed or it can simply fall back if the host or the plugin don't
> support it.
>
> seems to me like LV2 has lots of good ideas, but is shooting itself in the
> foot with complexity?

http://www.scs.carleton.ca/~drobilla/files/slv2_jack_host.c

If that can be less complex, I want to hear how. :)

-DR-
Received on Tue Jun 20 00:15:03 2006

This archive was generated by hypermail 2.1.8 : Tue Jun 20 2006 - 00:15:03 EEST