converting wav to mp3 sox code example Example: converting wav to mp3 sox sox -t wav -r 8000 -c 1 -t mp3