Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created March 8, 2017 03:37
Show Gist options
  • Save nicoder/741521e5deb9c68dde2f467b7bd77382 to your computer and use it in GitHub Desktop.
Save nicoder/741521e5deb9c68dde2f467b7bd77382 to your computer and use it in GitHub Desktop.
live_loop :b do
sample :drum_bass_soft
sleep 1
end
live_loop :c do
sync :b
sleep 0.66
sample :drum_snare_soft
end
live_loop :d do
sync :c
sleep 0.16
with_fx :slicer, phase: 0.2 do
sample :drum_cowbell, amp: 0.5
end
end
live_loop :e do
sync :b
use_synth :fm
with_transpose [-12, -10, -9].choose do
with_fx :echo, decay: rrand(0.3, 1.2) do
3.times do
play (ring 60, 62, 63).tick, release: 0.3
sleep 0.33
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment