LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Use Sox to Make a File Mono (http://www.linuxquestions.org/questions/slackware-14/use-sox-to-make-a-file-mono-848072/)

stf92 12-02-2010 10:59 PM

Use Sox to Make a File Mono
 
Kernel 2.6, GNU (Slackware 12.0).
sox 12.18.1

Hi:
Code:

bash-3.1# file receive48.wav
receive48.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 48000 Hz
bash-3.1#

This file, I intend to make it mono. That is, to mix both channels. I know this is a piece of cake for sox. But exactly how do I do it?

catkin 12-02-2010 11:17 PM

More descriptive thread titles are courteous, helpful and more likely to attract expertise.

Ramurd 12-03-2010 12:45 AM

What catkin said;

Until such time: man sox

read and learn.

corbis_demon 12-03-2010 01:48 AM

You've been a member for over 3 years now, and with more posts than I've managed since I've been here. You ought to know better, dude. To answer your question, you could probably average out the channels in the stereo. Something like:
Code:

sox receive48.wav -c 1 receive48_mono.wav avg

Martinezio 12-03-2010 04:33 AM

some OT - don't read it if You don't like it ;)
@corbis_demon: You should know, that # of posts doesn't show the level of the text's author ;)

stf92 12-03-2010 10:43 PM

Thanks for the info and thanks for the warning.


All times are GMT -5. The time now is 11:14 AM.