Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created January 20, 2015 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicoder/3a9ea6748c1f4155870b to your computer and use it in GitHub Desktop.
Save nicoder/3a9ea6748c1f4155870b to your computer and use it in GitHub Desktop.
use_bpm 60
r = 0.12
live_loop :main do
with_fx :distortion, distort: 0.99 do
play 43, release: r
sleep 0.125
3.times do
play 36, release: r
sleep 0.5
end
play 36, release: r
sleep 0.375
end
end
live_loop :second do
#sync :main
with_fx :reverb, wave: 0 do
sample :drum_cymbal_closed
end
sleep 0.125
end
live_loop :third do
#sync :main
with_fx :echo, phase: 0.075, decay: 0.5 do
sample :bd_tek, amp: 3
end
sleep 0.5
end
live_loop :mel do
#sync :main
play 60 if one_in 2
play 64 if one_in 2
play 72 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