This is the command I use to convert wav file to mp3, but before running this command you need to remove the space from filename https://acassis.wordpress.com/2015/03/02/removing-space-from-filenames/.
$ for i in $(ls *.wav); do lame --abr 128 $i $(basename $i .wav).mp3; done