Re: Merge and pipe channel assignment madness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---- Original Message ----- From: "Jan Stary" <hans@xxxxxxxx>
To: <sox-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, September 04, 2017 10:21 AM
Subject: Re:  Merge and pipe channel assignment madness


On Sep 01 23:24:20, bouke@xxxxxxxxxxxxxxxxx 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.

What happens if you pad the files first
and then do the merge without any extra piping?

Hi Jan,
That would create a lot of temp files, and take time.
However, I think I have it resolved by putting all inputs as mono into a (very long) pipe:
eg
sox - M “| sox 3ch.wav -p pad 1 remix 1" “| sox 3ch.wav -p pad 1 remix 2" “| sox 3ch.wav -p pad 1 remix 3" “| sox 5ch.wav -p pad 1 remix 1 ...... etc...

That seems to do the trick!

thx,
Bouke

Jan


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


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




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux