> On 05 Sep 2017, at 17:17, Jan Stary wrote: > > On Sep 01 23:24:20, bouke@videotoolshed.com wrote: >> Hi guys, >> Trying to merge multiple mono and poly Wave files while piping (to add custom padding to each input file.) >> Whatever I do, on input poly files the output channel order is totally unpredictable. >> >> I’m using something like sox -M “| sox 3ch.wav -p pad 1” “|sox 5ch.wav” -b 24 output.wav >> I would expect to get the same order of output as in the order of the input / pipe, but that does not happen. > > I cannot reproduce this behaviour. > Hi Jan, > > What version of SoX are you using? > Does it also happen with the current version Hi Jan, If you like, try this: Y:\sox-14-4-2\sox -M "| Y:\sox-14-4-2\sox J:\Torsten\tst\T72.WAV -p pad 0" "| Y:\sox-14-4-2\sox J:\Torsten\tst\T72.WAV -p pad 1" -b 24 J:\Torsten\tst\output.wav The file has ch1 (a bit) static, ch2 silence, ch3 voice On merge, the input tracks are reversed (but other files behave random.) File can be downloaded here: https://we.tl/4XNMXikv0J Thx! Bouke > Can you please upload two of your multichannel files > so that I can reproduce exactly what you are doing? > > Jan > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Sox-users mailing list > Sox-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sox-users