allegro

Today's musical selection:

Click Run program to hear this music program playing. You may need to adjust your computer's sound level.

See how it works? You always start at middle C, and then "up" and "down" instructions change the pitch. "play" and "rest" instructions either play the current note or stay silent, and both need a duration, such as a quarter-note.