Run the code to play a musical note. Try note numbers other than 0:
Play a sequence of notes. Try other sequences:
Play a random 8-note melody. Try other lengths of melodies:
Hint: run the code again to get a different melody.
Play a random melody from a scale. Try different scales: