Skip to content

Instantly share code, notes, and snippets.

@albanpeignier
Created November 17, 2009 16:08
Show Gist options
  • Save albanpeignier/237015 to your computer and use it in GitHub Desktop.
Save albanpeignier/237015 to your computer and use it in GitHub Desktop.
Sox.command do |sox|
sox.input "input1.wav"
sox.input "input2", :type => "ogg"
sox.output "output", :type => "ogg", :compression => 8
sox.effet :trim, :start => 10, :length => 600
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment