SoX
From TMB Wiki
SoX is a command line utility that can convert various formats of computer audio files in to other formats. It can also apply various effects to these sound files during the conversion. As an added bonus, SoX can play and record audio files on several UNIX-style platforms.
Comprehensive list of supported formats and features can be found at the SoX-homepage.