Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Is there a command-line interface I can use to make one or more ogg-music-files into mono?

share|improve this question

You can use it with oggdec and oggenc. In good old unix fashion, the decoding and encoding process is separated, so oggenc cannot take ogg as input. However, it is straightforward and easily combined in a shellscript if so desired.

oggdec myfile.ogg
oggenc --downmix myfile.wav -o myfile_mono.ogg
rm myfile.wav

If you wish to control the output quality, run oggenc with the -q flag with a value from -1 (very low) to 10 (very high)

share|improve this answer

sox is a nice tool for all sorts of command line audio processing

sox your_inputfile.ogg your_outputfile.ogg remix -
share|improve this answer

Your Answer


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