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:
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 Sox-users@xxxxxxxxxxxxxxxxxxxxxhttps://lists.sourceforge.net/lists/listinfo/sox-users
|
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------
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@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users