Last active
September 26, 2022 21:10
-
-
Save begin-theadventure/f2403ea22707e62d1ab44b19da535e37 to your computer and use it in GitHub Desktop.
Bulk conversion of mp3 files to wav 16-bit 48000 Hz using ffmpeg and a shell script. It works in the current directory.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shopt -s globstar nullglob | |
for f in *.mp3 | |
do | |
ffmpeg -i "${f}" -vn -c:a pcm_s16le -ar 48000 "${f%.*}.wav" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Based on wav converter and this post.
Useful for bulk audio file conversion for Northstar audio override mods.
Titanfall 2 audio is 16 bit 48000 Hz wav. 44100 Hz should also be fine.