Created
March 4, 2016 20:24
-
-
Save nicoder/dda60169609d1506ab46 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 :d1 do | |
sample :drum_bass_hard, amp: 1.5 | |
sleep 1 | |
end | |
live_loop :d2 do | |
sync :d1 | |
sleep 0.5 | |
sample :drum_snare_hard | |
end | |
live_loop :d3 do | |
sync :d1 | |
s = (knit 0.1, 3, 0.05, 1).tick() | |
5.times do | |
sample :drum_bass_hard, amp: 0.8 | |
sleep s | |
end | |
end | |
live_loop :d4 do | |
sync :d1 | |
with_fx :echo, mix: 0.2, phase: 0.125 do | |
2.times do | |
sleep 0.25 | |
sample :drum_cymbal_closed, amp: (rrand 0.9, 1.1) | |
sleep 0.25 | |
end | |
end | |
end | |
live_loop :bass do | |
sync :d1 | |
sleep 0.25 | |
use_synth :fm | |
n = (ring 42, 45, 47, 40).tick() | |
with_fx :lpf do | |
5.times do | |
play n + (ring 0, 0, 12, 0, (rrand 1.3, 1.4)).tick(:p), amp: 1.5, attack: 0.02, release: 0.3 | |
sleep 0.125 | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment