Skip to content

Instantly share code, notes, and snippets.

@kniknoo
Created August 31, 2017 04:11
Show Gist options
  • Save kniknoo/61695cafd55de01a933ff6fc44c9cd54 to your computer and use it in GitHub Desktop.
Save kniknoo/61695cafd55de01a933ff6fc44c9cd54 to your computer and use it in GitHub Desktop.
Mary Had a Little Lamb Homework
#This is the beginning of Mary Had a Little Lamb.
#I'd like for you to try to finish the song
#There are four notes used in this song: :c4, :d4, :e4, and :g4
#The short notes are half notes, represented by sleeping for 0.5 beats
#The long notes at the end of each phrase are whole notes, represented by sleeping for 1 beat
# http://www.true-piano-lessons.com/images/MaryCtab.jpg.jpg
play :e4
sleep 0.5
play :d4
sleep 0.5
play :c4
sleep 0.5
play :d4
sleep 0.5
play :e4
sleep 0.5
play :e4
sleep 0.5
play :e4
sleep 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment