Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created February 24, 2020 06:56
Show Gist options
  • Select an option

  • Save nicoder/66979fb0d621456baccb4ea60c74cf28 to your computer and use it in GitHub Desktop.

Select an option

Save nicoder/66979fb0d621456baccb4ea60c74cf28 to your computer and use it in GitHub Desktop.
live_loop :a do
sample :bd_808, amp: rrand(2, 4)
sleep 1
end
live_loop :b do
sync :a
sleep 0.5
with_fx :reverb, mix: rand() do
sample :bass_dnb_f, amp: 0.5 if one_in 5
end
end
live_loop :c do
sync :a
sleep 0.25
sample :drum_cowbell, amp: rand(), pan: rrand(-1, 1)
end
live_loop :d do
sync :a
sleep 0.75
sample :drum_cymbal_pedal
end
live_loop :e do
sync :a
sleep 0.5
sample :perc_bell, rate: rrand(0.25, 4) unless one_in 5
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment