Created
June 29, 2017 11:58
-
-
Save ronggong/a189a520858ab2d124049f06899981d7 to your computer and use it in GitHub Desktop.
Sox Mac audio format conversion
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
mkdir converted | |
for i in *.aif; do sox -t aif -b 24 $i converted/${i%.aif}.wav; done | |
#-t: to tell sox the input format | |
#-b: bit depth | |
#i%.aif: to remove the file name extension |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment