How to convert sound files

For converting sound files you can use ffmpeg like so:

ffmpeg -i inputfile.wav outputfile.mp3

You can convert from/to wav, mp3, flac, ogg and much more. For more information about supported encoding type:

ffmpeg -formats