Re: [LAD] Lv2 port replication [was Re: the role of lv2 extensions]

From: David Robillard <dave@email-addr-hidden>
Date: Thu Aug 13 2009 - 00:20:20 EEST

On Wed, 2009-08-12 at 22:14 +0100, james morris wrote:
> On 12/8/2009, "David Robillard" <dave@email-addr-hidden> wrote:
>
> >On Wed, 2009-08-12 at 23:00 +0200, Fons Adriaensen wrote:
> >> On Wed, Aug 12, 2009 at 09:46:58PM +0100, james morris wrote:
> >>
> >> > Say you have a LP filter plugin processing a stereo stream. It has one
> >> > port for the cutoff and two ports for input, therefor two for output.
> >> > What happens if you decide you want independent control over the cutoff
> >> > for the two channels?
> >>
> >> That is the essential difference between a plugin being used in
> >> a multichannel stream and one being used for polyphonic synthesis,
> >> where the cutoff frequency could be a per-voice envelope.
> >> Provided the plugin can do both, it is the *host* that has to make
> >> clear what's required.
> >
> >++
> >
> >Though in the latter case, it's probably best to just instantiate the
> >thing twice as hosts currently do (and will likely need to implement
> >regardless).
> >
>
> Or ganging the control ports?

You could, but if the whole plugin including controls is going to
replicate there's little benefit to replication. Maybe some
efficiency...

It's the plugin author's decision, really, but the "replicate audio but
single set of controls" is the 99% case.

-dr

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Thu Aug 13 04:15:01 2009

This archive was generated by hypermail 2.1.8 : Thu Aug 13 2009 - 04:15:01 EEST