This project shows how to play and display a melody using a preassigned list of note values.
Thanks to earlier Scratch Team members who created this project. I've updated this with new sprites and slowed it down a bit. You can check out my video tutorial on Variables and Lists on the official Scratch YouTube channel (ScratchTeam; look for the Variables and Lists video series) and find a link to written resources related to this topic in the video description.