Last active
June 26, 2016 19:43
-
-
Save Tuhaj/5f75d33f86334e19a087cd43086e08e4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Sonic Pi Diggy diggy hole chorus based on https://musescore.com/user/1121936/scores/1022696 | |
# :Ab, :Bb, :Db, :Eb | |
define :play_note do |note| | |
play note[0], release: note[1] | |
sleep note[1] | |
end | |
loop do | |
[ | |
[:F2, 0.5], [:F2, 0.25], [:G2, 0.25], [:Ab2, 0.5], | |
[:Ab2, 0.25], [:C3, 0.25], [:Bb2, 0.5], [:Ab2, 0.25], | |
[:G2, 0.25], [:F2, 1], | |
[:Ab2, 0.25], [:F2, 0.25], [:Ab2, 0.25], [:F2, 0.25], | |
[:Eb2, 1], | |
[:Ab2, 0.25], [:F2, 0.25], [:Ab2, 0.25], [:F2, 0.25], | |
[:G2, 1] | |
].each do |note| | |
play_note note | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment