Forked from hzulla/sonicpi-makepeachthepresident.txt
Created
November 7, 2018 10:54
-
-
Save hopbit/563a5e83abeebb802ef8fe0856660120 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment