[LV2] multiple channel configurations in lv2 plugin
David Robillard
d at drobilla.net
Mon Mar 11 14:50:39 PDT 2013
On Mon, 2013-03-11 at 17:36 +0100, Julien Pommier wrote:
> Hi,
>
> Suppose that I have an LV2 plugin that can provide up to five output
> channels. Right now, when I instanciate it on an ardour 3 midi track, it
> is created with 5 channels and its track has a 5-channel panner control
> that is very different of the usual stereo pan control. I think users
> will want to instanciate the plugin most of the time as a simple stereo
> instrument, and sometimes as a 5 channels instrument. I would like to
> know what is the recommended way to handle this (a variable number of
> output channels) ? Is there some mechanism for that in LV2 that I have
> overlooked, or maybe should I simply create a version of the plugin for
> each channel configuration that I would like to provide (in this case, I
> would make a stereo version of the plugin, and a 5-channel version) ?
Unfortunately there is currently no standard/suppoorted mechanism for
this. Ports are inherently static.
Multiple variants are indeed the way to achieve this for now.
Cheers,
-dr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20130311/aeedc9c8/attachment-0002.pgp>
More information about the Devel
mailing list