Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created March 5, 2017 05:40
Show Gist options
  • Save nicoder/8116fa8df774b89472742ec8502d4ae7 to your computer and use it in GitHub Desktop.
Save nicoder/8116fa8df774b89472742ec8502d4ae7 to your computer and use it in GitHub Desktop.
live_loop :b do
sample :drum_bass_hard, pan: -0.1
sleep 1
end
live_loop :c, delay: 4 do
sync :b
sleep 0.2
sample :drum_roll
end
live_loop :s, delay: 8 do
sync :b
sleep 0.25
sample :drum_snare_hard
with_fx :echo, phase: 0.3, mix: 0.15 do
sleep 0.5
sample :drum_snare_hard
end
end
live_loop :b2, delay: 12 do
sync :b
sleep 0.1
sample :drum_heavy_kick, pan: 0.1 unless one_in 4
end
live_loop :cym, delay: 16 do
sync :b
sample :drum_splash_hard if one_in 4
end
live_loop :cym2, delay: 20 do
sync :b
8.times do
sample :drum_cymbal_closed, amp: rrand(0.8, 1.2), rate: rrand(0.95, 1.05), pan: -0.1
sleep 0.125
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment