Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am interested in using SoX as part of a transcoding workflow I'm building. I need to be able to downmix stereo audio streams to mono. More specifically, I need to be able to specify which channel to write into the output file. As best as I can tell, the syntax should be as follows:

sox infile.wav -c 1 outfile.wav avg -l

However, when I issue the command, I get this error:

sox: invalid option -- l
sox: SoX v14.3.2

sox FAIL sox: invalid option

Stumped. Any ideas?

EDIT: Here's the command that does what I want.

sox infile.wav outfile.wav remix 1
share|improve this question
up vote 1 down vote accepted

There's no valid -l option. You could try it with the option "remix" or "oops". Both are listed in the documentation http://sox.sourceforge.net/sox.html#EFFECTS

share|improve this answer
    
Gah, duh. Sorry about the RTFM question, but thanks for the answer. – whlteXbread Mar 15 '12 at 19:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .