Skip to content

Instantly share code, notes, and snippets.

@napsternxg
Created February 22, 2013 23:03
Show Gist options
  • Save napsternxg/5017288 to your computer and use it in GitHub Desktop.
Save napsternxg/5017288 to your computer and use it in GitHub Desktop.
Sox Commands
#Enable mp3 in sox
yum install sox-plugins-freeworld
#Trim file in sox from 0 for 10 seconds
sox file1.mp3 output.mp3 trim 0 10
#Mix multiple files in sox.
sox -m f1.mp3 f2.mp3 output.mp3
# Mix multiple files at specific duration
sox -m f1.wav "|sox f2.wav -p pad 4" "|sox f3.wav -p pad 8" out.wav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment