ffmpeg(1) -loglevel quiet -y -i %2Fpath%2Fto%2Faudiofile -ar 8000 -ac 1 %2Fpath%2Fto%2Ftarget.wav
ffmpeg video converter
-loglevel loglevel | -v loglevel
    Set the logging level used by the library.  loglevel is a number or a string containing one of the
    following values:
-y  Overwrite output files.
-i filename
    input file name
-ar freq
    Set the audio sampling frequency. For output streams it is set by default to the frequency of the
    corresponding input stream. For input streams this option only makes sense for audio grabbing devices
    and raw demuxers and is mapped to the corresponding demuxer options.
-ac channels
    Set the number of audio channels. For output streams it is set by default to the number of input
    audio channels. For input streams this option only makes sense for audio grabbing devices and raw
    demuxers and is mapped to the corresponding demuxer options.
source manpages: ffmpeg