Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maciejjankowski/1c98cfe12679503f5fe3694eefb8fb39 to your computer and use it in GitHub Desktop.
Save maciejjankowski/1c98cfe12679503f5fe3694eefb8fb39 to your computer and use it in GitHub Desktop.
convert sample rate command line sox
for file in *
do
if [ ! -d "$file" ] && [ ! "$file" == 'convert.sh' ] ; then
sox $file -b 16 -c 1 -r 48k "converted/$file"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment