Last active
October 6, 2021 13:35
-
-
Save fatboab/cc567af97270e8faeb85 to your computer and use it in GitHub Desktop.
Convert audio to FLAC
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
for f in *.m4a; do avconv -i "$f" -acodec flac "${f%.m4a}.flac"; done |
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
for f in *.wav; do ffmpeg -i "$f" -af aformat=s32:96000 "${f%.wav}.flac"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment