If you’re familiar with writing batch scripts, then either FFmpeg, or perhaps SoX (http://sox.sourceforge.net/).