Created
June 17, 2019 22:16
-
-
Save datramt/a10ee975cfb68a8d33fc10b27c4da75d to your computer and use it in GitHub Desktop.
example_c.rb
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
# Michael Jackson’s Billie Jean basic percussion part in Sonic Pi | |
100.times do | |
sample :drum_cymbal_closed | |
sample :drum_bass_hard | |
sleep 0.25 | |
sample :drum_cymbal_closed | |
sleep 0.25 | |
sample :drum_cymbal_closed | |
sample :drum_snare_hard | |
sleep 0.25 | |
sample :drum_cymbal_closed | |
sleep 0.25 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment