Last active
May 19, 2016 07:12
-
-
Save ArsnealX/75064e1298e338fe1ed8943788edcd3d to your computer and use it in GitHub Desktop.
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
# requirement: | |
# brew install sox | |
mkdir wavmono | |
# convert to mono | |
for i in *.wav; do | |
sox "$i" "./wavmono/$i" remix 1 | |
done | |
cd "./wavmono/" | |
# convert to aifc | |
for i in *.wav; do | |
afconvert -f AIFC -d ima4 "$i" | |
done | |
# result folder | |
mkdir aifc | |
mv *.aifc "aifc/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment