Created
December 11, 2015 23:52
-
-
Save hzulla/bbc3773c1161912843f4 to your computer and use it in GitHub Desktop.
Sonic Pi: Make Peach the President
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make peach the president | |
# | |
# drumloop based on | |
# http://www.ethanhein.com/wp/2013/my-collection-of-transcribed-rhythm-patterns/ | |
use_bpm 95 | |
drumloop = { | |
:drum_bass_hard => [0,7,8,14], | |
:drum_snare_hard => [4,12], | |
:drum_cymbal_closed => [0,2,4,6,7,8,12,14], | |
:drum_cymbal_open => [10] | |
} | |
live_loop :drums do | |
for i in 0..15 | |
drumloop.each do |d,b| | |
sample d if b.include?i | |
end | |
sleep 0.25 | |
end | |
end |
Author
hzulla
commented
Dec 14, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment