Projects / SoX


SoX is the Swiss Army knife of sound processing tools: it can convert sound files between many different file formats and audio devices, and can apply many sound effects and transformations, as well as doing basic analysis and providing input to more capable analysis and plotting tools.

Operating Systems

Recent releases

  •  16 Oct 2011 18:44

    Release Notes: This release adds seek support in MP3 files, 24-bit WAV file improvements, better ffmpeg support, and bugfixes for the OS X audio driver.

    •  10 Nov 2008 21:46

      Release Notes: The processing chain now supports unlimited input files, multiple input pipes, and in some cases, multiple output files. Improved large file support and improved rate/dither/mcompand effects. A new Mac OSX audio driver as well as several new effects.

      •  05 Aug 2008 00:26

        Release Notes: New formats: WavPack, htk, f4, and f8. New effects: splice, remix, normalize, delay, contrast, rate, spectrogram, and gain. A new VU Meter and various improvements and bugfixes.

        •  09 Mar 2008 23:52

          Release Notes: Improved 24-bit WAV support, a rewrite of reverb effect, fixes to audio device drivers, and updates to work with the latest version of FLAC.

          •  12 Feb 2007 03:28

            Release Notes: Highlights of this release include support for FLAC files, 24-bit audio, new equalizer effects, enhanced command line options and output display, the ability to merge 2 mono files into 1 stereo file, and much more. There are also many bugfixes.

            Recent comments

            11 Jul 2008 21:48 bcrowell

            more problems
            I see it's been five years since I commented on this program. There seems to have been quite a bit of bitrot since then. Some of this may be packaging-related.

            After upgrading my ubuntu box to hardy heron, I noticed that sox's play command no longer worked: "play soxio: Failed writing `default': unknown file type `ao'." Ogg support has also disappeared. None of this seems to be fixed by installing the libsox-fmt-ogg or libsox-fmt-all packages.

            Use of the tempo command causes a segfault on my x64 box. This bug was supposed to have been fixed in sox 14.0.1-2, but that version segfaulted for me too.

            Sox used to be able to decode mp3s without having lame installed; now it no longer does. IIRC there are no license or patent issues with decoders for mp3, so I don't understand why this situation has gotten worse rather than better.

            Sox used to automatically recognize if you had lame installed before you compiled it, and would then take mp3 as an input format. That no longer seems to work.

            Judging from discussion on ubuntuforms, there seem to be a lot of people struggling to get this kind of stuff to work:



            20 Jul 2004 02:17 thefreek

            Re: useful but buggy

            > 2. The split command doesn't work the

            > way the man page claims it does; you

            > have to do "-c 2" instead.

            Actually, you have to do a bit more; to get the (l)eft channel:

            sox (inputfile) -c 1 (outputfile) avg -l

            or the (r)ight:

            sox (inputfile) -c 1 (outputfile) avg -r

            The -c 1 is an outputfile-switch and tell it you only want one channel output.

            Additionally the RH9-supplied version is buggy and the avg-filter will do straight nothing.

            20 Nov 2003 14:22 bcrowell

            useful but buggy
            I use sox a lot, and find it very useful. However, it does have some bugs, and I've never had any luck getting in touch with the author about them, after trying all three e-mail addresses he has listed publicly. (Some mails bounced, others got no response.)

            The bugs I've encountered are:

            1. Doing "speed 0.5" can cause it to go into an endless loop and fill your hard disk. (This seems to occur with any number less than about 0.7.)

            2. The split command doesn't work the way the man page claims it does; you have to do "-c 2" instead.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.