On 08 Sep 2017, at 10:02, Jan Stary <hans@stare.cz> wrote:

On Sep 07 21:31:53, hans@stare.cz wrote:
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:
https://we.tl/lRpO2tMTxu

Listening to this file with "play output.wav remix 1" etc, I hear:

1 silence
2 voice
3 static
4 silence
5 voice
6 static

Note that the channels are not "reversed" as you said, it's 2 3 1.
Can you also try with two different 3ch files to see
if it behaves consistently?

I must say, I’ve only checked in Audacity, but I doubt that would matter...

Just to be sure: using Audacity, you do hear the very same
in the channels as I describe above, right?


Hi Jan,
I’ve tested also Avid and WaveAgent,
Output is definitely wrong!
I’ll test some more and look at it with a HEX editor, see if samples are missing.
(But I need to generate some testfiles first…)

Bouke



------------------------------------------------------------------------------
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