I wanted to shrink the size of some .wav files by converting them to .mp3
Theres a great command line tool you can install called libav-tools
To install on Ubuntu run this, otherwise use your distro's install method
avconv -i file1.wav file2.mp3
Related External Links: