¶ ↑
Scissor¶ ↑
Descriptionutility to chop sound files
supported file format:
-
mp3
-
wav
-
m4a
¶ ↑
Installation¶ ↑
Requirements-
Ecasound 2.5.0 or higher
¶ ↑
Archive Installationrake install
¶ ↑
Gem Installationgem 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¶ ↑
from filefoo = Scissor('foo.mp3') bar = Scissor('bar.wav')
¶ ↑
from URLfoo = Scissor('http://example.com/foo.mp3') bar = Scissor('http://example.org/bar.wav')
¶ ↑
concatfoo + bar > 'foobar.mp3'
¶ ↑
slice + concatfoo[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 silencefoo.replace(0, 10, Scissor.silence(30)).to_file('replace.mp3')
¶ ↑
sequence + loopseq = Scissor.sequence('x y xyz', 0.2) seq.apply(:x => foo, :y => Proc.new { bar }, :z => foo.reverse) * 4 > 'sequence.wav'
¶ ↑
half the pitchfoo.pitch(50)
¶ ↑
200% time stretch without changing the pitchfoo.stretch(200)
¶ ↑
panfoo.pan(0) # left only foo.pan(50) # center(default) foo.pan(100) # right only
¶ ↑
mixScissor.mix([foo, bar], 'mix.mp3')
¶ ↑
Copyright- Author
-
youpy <youpy@buycheapviagraonlinenow.com>
- Copyright
-
Copyright © 2009 youpy
- License
-
MIT