Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 49 lines (31 sloc) 0.996 kb
9ebaa30 youpy initial import
authored
1 = Scissor
2
3 == Description
4 utility to chop mp3 files
5
6 == Installation
7
e9c7e18 youpy * use ecasound and mpg123 instead of mp3wrap
authored
8 === Requirements
cbdac70 youpy fix rdoc
authored
9 * {ruby-mp3info}[http://ruby-mp3info.rubyforge.org/]
10 * {FFmpeg}[http://ffmpeg.mplayerhq.hu/]
11 * {Ecasound}[http://www.eca.cx/ecasound/]
12 * {mpg123}[http://www.mpg123.de/]
e9c7e18 youpy * use ecasound and mpg123 instead of mp3wrap
authored
13
9ebaa30 youpy initial import
authored
14 === Archive Installation
15
16 rake install
17
18 === Gem Installation
19
20 gem install youpy-scissor
21
22 == Features/Problems
23
24 == Synopsis
25
26 foo = Scissor.new('foo.mp3')
94c710d youpy fix rdoc
authored
27 bar = Scissor.new('bar.mp3')
9ebaa30 youpy initial import
authored
28
29 # concat
30 (foo + bar).to_file('foobar.mp3')
31
32 # slice + concat
94c710d youpy fix rdoc
authored
33 (foo.slice(10, 1) + bar.slice(2, 3)).to_file('slicefoobar.mp3')
9ebaa30 youpy initial import
authored
34
35 # slice + concat + loop
880468a youpy * add Scissor#/
authored
36 ((foo.slice(10, 1) + bar.slice(2, 3)) * 4).to_file('slicefoobarloop.mp3')
37
38 # split
1280b3a youpy fix synopsis
authored
39 (Scissor.new('sequence.mp3') / 16).first.to_file('split.mp3')
9ebaa30 youpy initial import
authored
40
0b5aae8 youpy * add Scissor#replace
authored
41 # replace first 10 seconds with 30 seconds of silence
42 foo.replace(0, 10, Scissor.silence(30)).to_file('replace.mp3')
43
9ebaa30 youpy initial import
authored
44 == Copyright
45
46 Author:: youpy <youpy@buycheapviagraonlinenow.com>
47 Copyright:: Copyright (c) 2009 youpy
48 License:: MIT
Something went wrong with that request. Please try again.