Mass change sample/bit rate program

Got a bunch of wavs. need to change all audio to 16 bit and 44.1k sample rate. Any easy program to do that?

I think if you are using KDE then kwave should be able to do this. Or ffaudioconverter. In Gnome you can use gnac. Another tool would be soundconverter.

Audacity will as well.

ffmpeg and a for loop should work great too

#!/bin/bash
for name in *.wav; do
  ffmpeg -i "$name" -ar 44100 "${name%.*}.wav" 
done