Run the code to create a musical note, then click the Play button to hear it. Try note numbers other than 0:
Play a sequence of notes. Try other sequences:
Play the notes faster. Try other durations:
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:
Play a random melody on random instruments. Try other instruments, like "Oboe", "Glockenspiel" or "HonkyTonkPiano":
Hint: you can also specify instruments with numbers from 1 to 128.