Re: Merge and pipe channel assignment madness
Bouke / VideoToolShed <[email protected]>
| Newsgroups | gmane.comp.audio.sox |
|---|---|
| Message-ID | <[email protected]> |
> On 07 Sep 2017, at 17:51, Jan Stary <[email protected]> wrote: > >>>> 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. >>> >>> What version of SoX are you using? >>> Does it also happen with the current version > >> https://we.tl/4XNMXikv0J >> 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.) > > With my installation of SoX, running > > $ sox -M "|sox T72.WAV -p pad 0" "|sox T72.WAV -p pad 1" output.wav > > creates an output file with 6 channels, containing (in this order): > > 1 static > 2 silence > 3 voice > 4 static > 5 silence > 6 voice Hi Jan, Yeah, that’s what I would expect :-) > so I still cannot reproduce your problem. > I also tried with the "-b 24" which should be irrelevant - no change. > > Can you please also upload your output file? Sure, here you go: Download link https://we.tl/lRpO2tMTxu <https://we.tl/lRpO2tMTxu> I must say, I’ve only checked in Audacity, but I doubt that would matter... Btw, I’ve only tested on Windows (7, but I doubt that will matter….) Bouke > 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----- iQIcBAEBCgAGBQJZsZNlAAoJEGvldIVYaqVUouoP/1fcRfo4VNU/Vwn6eA0sKsXE EtaK0+JpnPqM+jgScS4jEF4B1DvuHPem6/EvR0FnmZPOJo3W3hDcTcdsMlZRvjmH LyU+1fCu4jAx5tN930fwV+lcpZcOJejj6OgfjO2k3Y+I1ec6gau0ldNMb26laKLm W1PAxLuiFepHhV9wbreLDIgWWqR5mYwP+bYJBtHSb3kpjnMxQinKrktThGz6ixYv B0iB+KhVnfjE/3ptb2Pf+UGVVyncK6WrskOEsYINwxf/g3oU1JmCCXk5K5/f3t/V /qu45DBNA0as+oof3RR8e8yCNLKkSLM2okQUPHpz7dabsF+5FvLwpHWxiamv3eGJ Sp0echczaaezd7pyPpjgyt841fTWAGYzWyk6PlWV84xbN7W1Iwk2g0fmjqwBjYPs D7vXCaQ90ok6f/i+bvaDMSinZYclGZjDQ0VURv75TbL85UJlU7NSidilj+i+BQAx 0zRe0gU16U9OZ8Ii979eOPJN8Q63to8dehM4oAuEKq6/y40BLNfRysdUDQF4Msd9 kzXSgy2FZjbKHZwIJzYqbq3yCd7rQQCrcjDcxP40yoR3eot8U/05eop503V5V08c qh/bpL+nGLL//H+Pll4gpqz0gPd9TvoZ512d8YNrm0RZjWCHi7sf+BoZe65hKuMj 3/aHI7+fjjof3ZjPg89E =jTG0 -----END PGP SIGNATURE-----