Skip to content

Instantly share code, notes, and snippets.

@youpy
Created January 2, 2012 14:23
Show Gist options
  • Save youpy/1550862 to your computer and use it in GitHub Desktop.
Save youpy/1550862 to your computer and use it in GitHub Desktop.
%w!ubygems scissor!.each {|g| require g }
s = Scissor(ARGV.shift)
s.stretch((((20*60)+12) / s.duration) * 100).to_file('2012.mp3', :bitrate => '320k')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment