Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update rdoc

  • Loading branch information...
commit 52fb4edb26855a7c03ef26b496be6d24d48a9bb4 1 parent 80717bc
@youpy authored
Showing with 20 additions and 7 deletions.
  1. +20 −7 README.rdoc
View
27 README.rdoc
@@ -31,29 +31,42 @@ supported file format:
== Synopsis
+instanciate
+
foo = Scissor('foo.mp3')
bar = Scissor('bar.wav')
- # concat
+concat
+
foo + bar > 'foobar.mp3'
- # slice + concat
+slice + concat
+
foo[10, 1] + bar[2, 3] > 'slicefoobar.mp3'
- # slice + concat + loop
+slice + concat + loop
+
(foo[10, 1] + bar[2, 3]) * 4 > 'slicefoobarloop.mp3'
- # split
+split
+
(Scissor('sequence.mp3') / 16).first.to_file('split.mp3')
- # replace first 10 seconds with 30 seconds of silence
+replace first 10 seconds with 30 seconds of silence
+
foo.replace(0, 10, Scissor.silence(30)).to_file('replace.mp3')
- # sequence + loop
+sequence + loop
+
seq = Scissor.sequence('x y xyz', 0.2)
seq.apply(:x => foo, :y => Proc.new { bar }, :z => foo.reverse) * 4 > 'sequence.wav'
- # mix
+half the pitch
+
+ foo.pitch(50)
+
+mix
+
Scissor.mix([foo, bar], 'mix.mp3')
== Copyright
Please sign in to comment.
Something went wrong with that request. Please try again.