Re: Merge and pipe channel assignment madness

"Bouke \(VideoToolShed\)" <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <A12AB7F449D0479890921A21D34207E6@HPKANTOOR>
---- Original Message ----- 
From: "Jan Stary" <[email protected]>
To: <[email protected]>
Sent: Monday, September 04, 2017 10:21 AM
Subject: Re: [SoX-users] Merge and pipe channel assignment madness


> 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.
>
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-users
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.