How to convert any mp3 file to .wav 16khz mono 16bit

Solution 1:

kdazzle's solution is almost there - it still output a stereo wav, here is a slightly modified version that generate mono:

ffmpeg -i 111.mp3 -acodec pcm_s16le -ac 1 -ar 16000 out.wav

also, if this is for pre-processing speech data for sphinx 4 see here: Convert audio files for CMU Sphinx 4 input

Solution 2:

Try this:

ffmpeg -i 111.mp3 -acodec pcm_s16le -ar 16000 out.wav