Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created February 23, 2017 17:41
Show Gist options
  • Save nicoder/c60004bb522004569f67aac1402d1081 to your computer and use it in GitHub Desktop.
Save nicoder/c60004bb522004569f67aac1402d1081 to your computer and use it in GitHub Desktop.
live_loop :m do
sleep 1
end
live_loop :k do
sync :m
with_fx :echo, decay: 3, phase: 0.25 do
sample (ring :bd_haus, :drum_cymbal_open).tick, amp: 2
end
sleep 1
end
live_loop :k2 do
sync :m
sleep 0.5
sample :bd_haus, amp: 2
sleep 0.25
sample :bd_haus, amp: 2
end
live_loop :s do
sync :m
with_fx :slicer, phase: rrand(0.15, 0.3) do
sample :misc_crow, amp: 4, rate: rrand(0.9, 1.1)
end
sleep 0.5
sample :guit_em9, amp: 2 unless one_in 4
sample :guit_em9, amp: 2, rate: -1 unless one_in 5
sleep 2
end
live_loop :n do
#sync :m
play 64, amp: 3, release: 0.3 if one_in 2
play (ring 71, 73, 72, 71).stretch(4).tick, amp: 3, release: 0.2 if one_in 2
sleep 0.25
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment