On 2024-05-13 20:30, Jan Stary wrote:
/Users/minion/sox/rec DBUG effects: sox_add_effect: extending effects
table, new size = 8
/Users/minion/sox/rec DBUG remix: 0:
/Users/minion/sox/rec DBUG remix: 0 0.333333
/Users/minion/sox/rec DBUG remix: 8 0.333333
/Users/minion/sox/rec DBUG remix: 16 0.333333
/Users/minion/sox/rec DBUG remix: 1:
/Users/minion/sox/rec DBUG remix: 1 0.333333
/Users/minion/sox/rec DBUG remix: 9 0.333333
/Users/minion/sox/rec DBUG remix: 17 0.333333
/Users/minion/sox/rec DBUG remix: 2:
/Users/minion/sox/rec DBUG remix: 2 0.5
/Users/minion/sox/rec DBUG remix: 10 0.5
/Users/minion/sox/rec DBUG remix: 3:
/Users/minion/sox/rec DBUG remix: 3 0.5
/Users/minion/sox/rec DBUG remix: 11 0.5
/Users/minion/sox/rec DBUG remix: 4:
/Users/minion/sox/rec DBUG remix: 4 0.5
/Users/minion/sox/rec DBUG remix: 12 0.5
/Users/minion/sox/rec DBUG remix: 5:
/Users/minion/sox/rec DBUG remix: 5 0.5
/Users/minion/sox/rec DBUG remix: 13 0.5
/Users/minion/sox/rec DBUG remix: 6:
/Users/minion/sox/rec DBUG remix: 6 0.5
/Users/minion/sox/rec DBUG remix: 14 0.5
/Users/minion/sox/rec DBUG remix: 7:
/Users/minion/sox/rec DBUG remix: 7 0.5
/Users/minion/sox/rec DBUG remix: 15 0.5
This must be how the 18 input channels contribute
to the 8 output channels, in a round-robin fashion, apparently.
Which is probably not what you want: 0 to 15 contribute as
the two channels into 0-8 each, and then 16 and 17, respectively,
are the third contributor to 0 and 1, respectively;
the fractions are most probably the relative volumes.
It's just as well there's no audio (or supposed to be, anyway)
arriving on channels 9-18 (ie those shown as 8-17 (numbered
as offsets from 0 here).
But if sox is notionally mixing audio from 18 channels down to 8
(which is what the manual says the "channels" effect does), it's
unnecessary work when only remix's channel select logic is needed.
The sox command needs changed so that the "channels" effect is not
being used.
IIUC it's because of the use of "-c n" in the command. (See the text
for the "channels" effect, in the manual). It seems to me that "-c n"
needs removed, because sox has to process what its being sent,
& remix alone should be used to choose which of the arriving 18
channels are passed onwards to the output.
--
Jeremy Nicoll - my opinions are my own
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users