Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.