convert48.sh
| #!/bin/bash | |
| SAMPLE_DIRECTORY=/Users/lylemills/Desktop/sample_rate_conversion | |
| mkdir $SAMPLE_DIRECTORY/converted | |
| for f in $SAMPLE_DIRECTORY/* | |
| do | |
| echo "Processing `basename $f`" | |
| ffmpeg -i $f -ar 48000 $SAMPLE_DIRECTORY/converted/`basename $f` | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment