Skip to content

Instantly share code, notes, and snippets.

@reidransom
Last active December 17, 2015 10:09
Show Gist options
  • Select an option

  • Save reidransom/5593151 to your computer and use it in GitHub Desktop.

Select an option

Save reidransom/5593151 to your computer and use it in GitHub Desktop.
batch process files one liner
# this performs a sample rate conversion on a folder of .wav files
find . -maxdepth 1 -name '*.wav' -type f -print0 | xargs -0 -t -I {} sox {} -r 8000 8000Hz/{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment