|
From: Chris A. <ro...@gm...> - 2015-07-06 07:22:50
|
On Mon, Jul 6, 2015 at 5:04 PM, Erich Eckner <er...@ec...> wrote: >> Or alternatively, fold the two input files down to mono, and then >> merge into one output file. But I'm curious: Can this be done with a >> single sox invocation? There are times when I'd like to do this too. >> >> ChrisA > > yes and afaik no: > > yes, if you count the number of commands you have to type into your > command line: > sox -M "|sox in_left.wav -p remix 1" "|sox in_right.wav -p remix 2" > out_stereo.mp3 > > and no, if you count the number of sox-processes actually running (the > above command will have 3, I can't think of one with less processes, > which _first_ mixes down and then merges together). Doing it with pipes does mean that it doesn't require intermediate storage, which is good; but what I meant by "a single invocation" was a single process, so I guess that's not possible. No matter, the pipe technique will serve. Thanks. ChrisA |