Sha256: 4ec7708c0efaa7f51d9726893590ea20d17946d824441b2a2cbf77ee29f37098

Contents?: true

Size: 1.3 KB

Versions: 5

Compression:

Stored size: 1.3 KB

Contents

= Scissor

== Description

utility to chop sound files

supported file format:

* mp3
* wav

== Installation

=== Requirements

* {FFmpeg}[http://ffmpeg.mplayerhq.hu/]
* {Ecasound}[http://www.eca.cx/ecasound/] 2.5.0 or higher

=== Archive Installation

 rake install

=== Gem Installation

 gem update --system
 gem install gemcutter
 gem tumble
 gem install scissor

== Features/Problems

* When you concatenate two or more files, format(sample rate, bit rate, ...) mismatch causes unexpected changes to output file.

== Synopsis

=== instantiate

 foo = Scissor('foo.mp3')
 bar = Scissor('bar.wav')
  
=== concat

 foo + bar > 'foobar.mp3'

=== slice + concat

 foo[10, 1] + bar[2, 3] > 'slicefoobar.mp3'

=== slice + concat + loop

 (foo[10, 1] + bar[2, 3]) * 4 > 'slicefoobarloop.mp3'

=== split

 (Scissor('sequence.mp3') / 16).first.to_file('split.mp3')

=== replace first 10 seconds with 30 seconds of silence

 foo.replace(0, 10, Scissor.silence(30)).to_file('replace.mp3')

=== sequence + loop

 seq = Scissor.sequence('x y  xyz', 0.2)
 seq.apply(:x => foo, :y => Proc.new { bar }, :z => foo.reverse) * 4 > 'sequence.wav'

=== half the pitch

 foo.pitch(50)

=== mix

 Scissor.mix([foo, bar], 'mix.mp3')

== Copyright

Author:: youpy <youpy@buycheapviagraonlinenow.com>
Copyright:: Copyright (c) 2009 youpy
License:: MIT

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
scissor-0.0.26 README.rdoc
scissor-0.0.25 README.rdoc
scissor-0.0.24 README.rdoc
scissor-0.0.23 README.rdoc
scissor-0.0.22 README.rdoc