Re: [LAD] Multi-Channel channel order

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Fri Aug 14 2009 - 23:31:44 EEST

On Fri, Aug 14, 2009 at 01:52:38PM -0400, David Robillard wrote:

> I generally think of this problem in terms of "plugin telling the host
> precisely what it's I/O is". Hosts can be as clever as they like :)

Or a plugin telling a host what its I/O *can* be - i.e. offering
several options and letting the host or user decide which one
makes sense. For example a plugin could offer to do the right thing
for either general multichannel (all equal) or for some AMB format.
Then it depends on the host or user to select the right mode. It's
this sort of thing I had in mind when writing that maybe you can't
just rely on port properties alone.
 
> Ideally (IMO), hosts would look at all the plugins they have to find
> converters. For example, if you have stereo, and need to convert it
> into 5.1, check all your plugins for something with a stereo in
> corresponding to a 5.1 out. Hardcoded logic in hosts for this kind of
> thing is unfortunate, especially for e.g. ambisonics where it's far from
> trivial behaviour.

True... But take into account that such conversions would be the
exception rather than the rule. You could have a 5.1 mixdown session
that at the end is converted to stereo for a CD release, but you would
normally never have anything that converts between different formats
more than once. So it's perfectly acceptable to require a user decision
in case such a conversion is needed. But I do agree 100% that there
should be no hardcoded logic for such things - it would get it wrong
most of the time, no matter how hard you try.

Ciao,

-- 
FA
Io lo dico sempre: l'Italia è troppo stretta e lunga.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Sat Aug 15 00:15:11 2009

This archive was generated by hypermail 2.1.8 : Sat Aug 15 2009 - 00:15:11 EEST