Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created December 22, 2016 04:44
Show Gist options
  • Save nicoder/54d81d5d7e85050f5226e28f1e3b94ff to your computer and use it in GitHub Desktop.
Save nicoder/54d81d5d7e85050f5226e28f1e3b94ff to your computer and use it in GitHub Desktop.
live_loop :m do
sleep 4
end
live_loop :b do
sync :m
3.times do
sample :bd_808, amp: (ring 2, 2.5, 3).tick
sleep 1
end
end
live_loop :c do
sync :b
4.times do
sleep 0.125
sample :bd_ada, amp: rdist(0.5, 1.2), pan: (ring -1, -0.5, 0, 0.5, 1).tick
end
end
live_loop :d do
sync :m
use_synth :blade
with_fx :wobble do
play chord(:e3, :minor), release: 5, amp: 0.6 unless one_in 5
end
end
live_loop :e do
#sync :m
use_synth :fm
play (ring :e2, :g2, :b2).tick, release: 0.2 unless one_in 7
sleep 0.125
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment