Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created December 29, 2015 16:43
Show Gist options
  • Save nicoder/62f6a6659812fabd0dba to your computer and use it in GitHub Desktop.
Save nicoder/62f6a6659812fabd0dba to your computer and use it in GitHub Desktop.
use_bpm 120
live_loop :l1 do
sample :drum_bass_hard, amp: rrand(1, 1.25)
sleep 1
end
live_loop :l3 do
sync :l1
sleep 0.75
sample :drum_bass_hard if one_in 2
end
live_loop :l2 do
sync :l1
sleep 0.5
sample :drum_snare_hard
end
live_loop :l4 do
sync :l1
sleep 0.25
sample :drum_snare_hard, amp: 0.5 if one_in 3
end
live_loop :l5 do
sync :l1
with_fx :ixi_techno, cutoff_min: 100, cutoff_max: 130 do
sample :bass_dnb_f, rate: (ring 0.75, 0.95, 1.05, 1.25).tick, amp: 2
end
sleep 2
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment