Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 88 lines (50 sloc) 1.578 kb
9ebaa30b »
2009-03-29 initial import
1 = Scissor
2
3 == Description
fb4e7a0c »
2009-04-05 * wav support
4
5 utility to chop sound files
6
7 supported file format:
8
9 * mp3
10 * wav
11
12 == Installation
9ebaa30b »
2009-03-29 initial import
13
4598561c »
2009-04-05 fix rdoc
14 === Requirements
9ebaa30b »
2009-03-29 initial import
15
fb4e7a0c »
2009-04-05 * wav support
16 * {FFmpeg}[http://ffmpeg.mplayerhq.hu/]
17 * {Ecasound}[http://www.eca.cx/ecasound/] 2.5.0 or higher
77223401 »
2011-07-20 update README
18 * {Rubber Band}[http://breakfastquay.com/rubberband/]
2bbeccae »
2009-04-05 update rdoc
19
9ebaa30b »
2009-03-29 initial import
20 === Archive Installation
21
111f560f »
2009-07-19 fix indentation
22 rake install
9ebaa30b »
2009-03-29 initial import
23
24 === Gem Installation
25
1fb5acc0 »
2009-10-11 update rdoc and HOMEPATH
26 gem update --system
27 gem install gemcutter
28 gem tumble
29 gem install scissor
9ebaa30b »
2009-03-29 initial import
30
31 == Features/Problems
32
fb4e7a0c »
2009-04-05 * wav support
33 * When you concatenate two or more files, format(sample rate, bit rate, ...) mismatch causes unexpected changes to output file.
34
9ebaa30b »
2009-03-29 initial import
35 == Synopsis
36
5a7afc41 »
2012-01-23 Update README.rdoc
37 === instantiate from file
6997d03e »
2011-12-02 update README
38
111f560f »
2009-07-19 fix indentation
39 foo = Scissor('foo.mp3')
40 bar = Scissor('bar.wav')
6997d03e »
2011-12-02 update README
41
5a7afc41 »
2012-01-23 Update README.rdoc
42 === instantiate from URL
6997d03e »
2011-12-02 update README
43
44 foo = Scissor('http://example.com/foo.mp3')
45 bar = Scissor('http://example.org/bar.wav')
46
41427ec5 »
2009-07-19 update rdoc
47 === concat
52fb4edb »
2009-07-19 update rdoc
48
111f560f »
2009-07-19 fix indentation
49 foo + bar > 'foobar.mp3'
9ebaa30b »
2009-03-29 initial import
50
41427ec5 »
2009-07-19 update rdoc
51 === slice + concat
52fb4edb »
2009-07-19 update rdoc
52
111f560f »
2009-07-19 fix indentation
53 foo[10, 1] + bar[2, 3] > 'slicefoobar.mp3'
9ebaa30b »
2009-03-29 initial import
54
41427ec5 »
2009-07-19 update rdoc
55 === slice + concat + loop
52fb4edb »
2009-07-19 update rdoc
56
111f560f »
2009-07-19 fix indentation
57 (foo[10, 1] + bar[2, 3]) * 4 > 'slicefoobarloop.mp3'
9ebaa30b »
2009-03-29 initial import
58
41427ec5 »
2009-07-19 update rdoc
59 === split
52fb4edb »
2009-07-19 update rdoc
60
111f560f »
2009-07-19 fix indentation
61 (Scissor('sequence.mp3') / 16).first.to_file('split.mp3')
880468a6 »
2009-03-30 * add Scissor#/
62
41427ec5 »
2009-07-19 update rdoc
63 === replace first 10 seconds with 30 seconds of silence
52fb4edb »
2009-07-19 update rdoc
64
111f560f »
2009-07-19 fix indentation
65 foo.replace(0, 10, Scissor.silence(30)).to_file('replace.mp3')
9ebaa30b »
2009-03-29 initial import
66
41427ec5 »
2009-07-19 update rdoc
67 === sequence + loop
52fb4edb »
2009-07-19 update rdoc
68
111f560f »
2009-07-19 fix indentation
69 seq = Scissor.sequence('x y xyz', 0.2)
70 seq.apply(:x => foo, :y => Proc.new { bar }, :z => foo.reverse) * 4 > 'sequence.wav'
0b5aae80 »
2009-04-05 * add Scissor#replace
71
41427ec5 »
2009-07-19 update rdoc
72 === half the pitch
52fb4edb »
2009-07-19 update rdoc
73
74 foo.pitch(50)
75
7a87edfa »
2011-07-20 add spec for Chunk#stretch
76 === 200% time stretch without changing the pitch
77223401 »
2011-07-20 update README
77
7a87edfa »
2011-07-20 add spec for Chunk#stretch
78 foo.stretch(200)
77223401 »
2011-07-20 update README
79
41427ec5 »
2009-07-19 update rdoc
80 === mix
52fb4edb »
2009-07-19 update rdoc
81
111f560f »
2009-07-19 fix indentation
82 Scissor.mix([foo, bar], 'mix.mp3')
4cf0f624 »
2009-07-19 add Scissor.mix Fixes gh-1
83
9ebaa30b »
2009-03-29 initial import
84 == Copyright
85
86 Author:: youpy <youpy@buycheapviagraonlinenow.com>
87 Copyright:: Copyright (c) 2009 youpy
88 License:: MIT
Something went wrong with that request. Please try again.