This pyhton3 script allows you to convert audio file formats for all of the audio files of the same type in a directory.
pip install ffmpeg
pip install pydub
python3 convert_audio.py [-h] --input_path INPUT_PATH --output_dir OUTPUT_DIR --from_file FROM_FILE --to_file TO_FILE