Created
April 14, 2016 02:36
-
-
Save nicoder/792b50768266f563c3bdb589798867a1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
live_loop :a do | |
play :c | |
sleep 1 | |
end | |
live_loop :b do | |
#sync :a | |
play (ring :f, :e).stretch(4).tick | |
sleep 1 | |
end | |
live_loop :c do | |
#sync :a | |
sample :drum_bass_hard | |
sleep 4 | |
end | |
live_loop :d do | |
#sync :c | |
sleep 2 | |
sample :drum_snare_hard | |
sleep 2 | |
end | |
live_loop :e do | |
#sync :c | |
sample :drum_cymbal_closed | |
sleep 1 | |
end | |
live_loop :f do | |
#sync :c | |
use_synth :fm | |
play 48, release: 0.7 | |
sleep 0.5 | |
end | |
live_loop :g do | |
#sync :a | |
use_random_seed 123 | |
16.times do | |
play (octs :c3, 3).tick, release: 0.5 | |
sleep 0.125 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment