Re: Merge and pipe channel assignment madness

Bouke / VideoToolShed <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
> On 05 Sep 2017, at 17:17, Jan Stary <[email protected]> wrote:
> 
> On Sep 01 23:24:20, [email protected] 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 <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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sox-users

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-users
signature.asc (application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJZr/pbAAoJEGvldIVYaqVUBoIP/1GQMD+W7buXeOXHQFjTL3lV
Gh3GHvI/6wXfwtYOlN5OzZv47vbHKmEkH5pCPsWAbqOTJw1wFhnDsr3sDARbuSHC
RbQ3loLFiPXoITCV2vPg4dX/ETjjedMyOuS1B5rDwAo4x36yNUS5RmFxCTDIsPtl
k8ifBpc57lIjQm0cr62QOtvOAVwZA+Z+Dh/dZkYF3X09raSlZ44oG1ZxhW+SmQfH
t0D+Sr9cVpnIjZC5WvJgeb+pqZUMecMhb7WiBQmdfoOXOfED/8CcIvYv5v9soiHz
ku/17ktYGAiQlZtDJr/tWhBr2eqkvgYLrRVfa85EwrI7frAB2p3wyatf/U50KlO2
UblQrkTzNz/gGGQOUnSA0Lu53fdEhbhaGguKtwXooA0fva1FnFB7Ft9HxBxrmMtV
xIFwuPl0626m9ZoiOVbznY07x8yt3PNuWrIkc9i2i3qxbXzZhCclH7r/+cS6ghNg
ca7ISAHD8opqlS6wL/fCdZ/pU1UwefPHOHI61eDem4HYH22IPZJMl2+O0Dp6J1ol
lefup8q6fWhMMMe06Zzlym0Td+Vy8OoW06J30rkpIk8l+shvhGAE1C3j6+gCj7H0
rHOE7geh0qjCIf23QcD1tOX9+Y7KYUd2hf5pSLjMrFIyM5KcVxRbKq1CfLznsvjD
RU/C3hjCxtOIRIHF9+HH
=eymm
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.