Skip to content

Instantly share code, notes, and snippets.

@benaskins
Created August 24, 2009 01:55
Show Gist options
  • Save benaskins/173583 to your computer and use it in GitHub Desktop.
Save benaskins/173583 to your computer and use it in GitHub Desktop.
stab.filter.modulate & stab.delay.on
(0..119).each do |bar|
(1..16).each do |measure|
kick.play if [1,5,9,13].include? measure
hat.play if [3,7,11,15].include? measure
clap.play if [5,13].include? measure
stab.play if measure == 1 && bar % 4 == 0
sleep 0.03125
end
bassline.repeat
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment