Re: [LAD] Lv2 port replication [for dummies]

From: james morris <james@email-addr-hidden-art.net>
Date: Fri Aug 14 2009 - 01:16:14 EEST

On 13/8/2009, "Fons Adriaensen" <fons@email-addr-hidden> wrote:

>On Thu, Aug 13, 2009 at 09:27:20PM +0100, Steve Harris wrote:
>
>> On 13 Aug 2009, at 20:01, David Robillard wrote:
>> >> I'm assuming the only ports to be replicated are those which have
>> >> say a
>> >> multiPort property. I don't see why replication would not be the same
>> >> in a plugin instance, across all ports with that property.
>> >
>> > Because larger plugins can have several completely different signal
>> > paths. Synthesis and effects, or several channels on a mixer, or...
>>
>> That, IMHO, is a different problem space.
>
>If the original problem is 'how to define a mono plugin so it can
>be replicated for multichannel or polyphonic use' then I'd agree.

That's the problem I've limited myself to.

...

>And I'm not yet convinced that even the simple 'replicate a mono
>plugin' problem can be solved by port types only.
>
>How would a port type tell e.g. a multichannel limiter plugin if
>it has to limit each channel separately, or use the same gain
>reduction, based on the loudest one, on all ?

All the port type (property) would do is say this port is replicated. How
the plugin handles that is down to the author. For the limiter example
you might want a boolean value (a gui check box) which the plugin acts
upon to determine this. There would still be the same number of
inputs/outputs replicated in both cases (I think)...

James.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Fri Aug 14 04:15:02 2009

This archive was generated by hypermail 2.1.8 : Fri Aug 14 2009 - 04:15:02 EEST