Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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