Skip to content

Instantly share code, notes, and snippets.

@micahpearlman
Created June 3, 2012 21:28
Show Gist options
  • Save micahpearlman/2865098 to your computer and use it in GitHub Desktop.
Save micahpearlman/2865098 to your computer and use it in GitHub Desktop.
Downsample an Audio File
Using sox this is how you would downsample an audio file:
sox ./MM_intro_audio2.ogg -r 16000 ./MM_intro_audio3.ogg
Also to reduce the number of channels:
sox ./MM_intro_audio.ogg -c 1 ./MM_intro_audio2.ogg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment