SoX, Swiss Army knife of sound processing. http://sox.sourceforge.net/