Last active
August 3, 2016 05:19
-
-
Save nicoder/ae372a9ceec507320ddcc6589c5fda6c 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 | |
sample :drum_bass_hard | |
sleep (ring 1, 0.5, 0.25).tick | |
end | |
live_loop :b do | |
sync :a | |
sleep rrand(0.1, 0.3) | |
with_fx :echo do | |
with_fx :reverb do | |
sample :drum_cowbell, amp: 0.2 if one_in 2 | |
end | |
end | |
end | |
live_loop :c do | |
#sync :a | |
use_synth :fm | |
with_fx :distortion, distort: rrand(0.7, 0.85) do | |
play (ring 45, 48).stretch(8).tick, release: 0.7, amp: 0.5 | |
end | |
sleep 0.5 | |
end | |
live_loop :d do | |
#sync :c | |
with_fx :panslicer, mix: [0, 1].choose do | |
with_fx :reverb, room: rrand(0.5, 0.8) do | |
5.times do | |
play chord(57, '9sus4', num_octaves: 2).shuffle.tick, amp: 0.2, release: 0.2 | |
end | |
end | |
end | |
sleep 0.125 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment