On Wed, Mar 23, 2016 at 11:25:01PM -0700, Aaron Heller wrote:

> Note that while AmbDec can accommodate FuMa normalization on input, it
> still makes the connections to jack in ACN order so the inputs will often
> appear in Jack in ACN order (and never in FuMa order).

More precisely, the jack ports are _created_ in ACN order. Simply
because all the internal data structures use this order. 

> I say "often"
> because the Jack API does not have any notion of the 'order' of an
> application's ports.

Correct. In many cases jack will list ports in the order they
were created, but you can't count on it. In a system were apps
and ports come and go, they will be mixed up sooner or later.
It happens all the time in e.g. Ardour's connection matrices.

> To make matters worse, some jack control clients,
> like qjackctl, sort the ports by name,

Given that there is no defined order, that's the only sensible thing
they can do. 

> so they appear in the GUI in FuMa
> order, but if you simply do a 'bulk connect' you'll find the individual
> connections were made in ACN order.  You really have to check the port
> names carefully when connecting.

The problem here is that while qjackctl displays a sorted list, it
uses the original order when doing a 'bulk connect'. What it should
do of course is to try and match the names.

The FuMa style input port names in Ambdec were chosen to be convenient
to a human user making the connections, and to show up in qjackctl in
FuMa order (that's why the degree is part of the name). At the time the
FuMa names were more are less the standard. Since then I've written a
lot of (unreleased) jack apps having HOA ports. They all use a naming
scheme based on ACN: in 'printf' style "xxxx.%d" where d is the ACN.
Future releases of Ambdec will do the same (with an option to have
FuMa names) since Ambdec is really the only exception to that scheme.
That way tools like qjackctl *could* at least do the right thing.

Ciao,

-- 
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)

_______________________________________________
Sursound mailing list
Sursound@music.vt.edu
https://mail.music.vt.edu/mailman/listinfo/sursound - unsubscribe here, edit 
account or options, view archives and so on.

Reply via email to