Created
February 21, 2017 03:39
-
-
Save nicoder/02d58fb6bf010b84e45a58ea4b5b1e8a 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 :m do | |
sleep 1 | |
end | |
live_loop :k do | |
sync :m | |
sample :drum_bass_hard | |
sleep 0.5 | |
sample :drum_bass_hard | |
sleep 0.125 | |
sample :drum_bass_hard | |
end | |
live_loop :c do | |
sync :m | |
sleep 0.25 | |
sample :drum_snare_hard | |
sleep 0.5 | |
sample :drum_snare_hard | |
end | |
live_loop :b do | |
sync :m | |
use_synth :fm | |
(rrand_i 3, 7).times do | |
play 48, release: (ring 0.3, 0.25).tick | |
play (ring 60, 55, 60, 57).look, release: 0.2 if one_in 3 | |
sleep 0.125 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment