Hey and welcome to day 3 of Scratch Music! Today, you're going to learn more computerscience so you can build a musical art display like the one you see here. When someone usesyour musical artwork, they will be able to move the mouse around to discover the differentsounds that each color of the artwork will make. For this project, you will use conditionals,or "If then" blocks, to tell the computer what sound to play for each color. You willcreate instructions that say, for example, "if the mouse is touching green play a C note."
Computer Science is a tool that can be used to build whatever you imagine in many differentforms. In these videos, you'll see artists who have used some computer science skillsto program innovative and interactive musical displays for others to enjoy.
As you could probably guess from those videos, there were lots of "if then" statements usedfor behavior like, "If the person touches the bike, then play a sound." Sometimes, itlooks like a computer is deciding what to do all by itself, but in reality, every decisiona computer makes was programmed by a computer scientist just like you using statements thatsay "If this happens then do a certain action." You'll use several of these today to tellthe computer what note to play if a color is touched in your art.
In this first screencast, you're going to sign in to scratch and open the starter project.
To open the starter project, click the link next to this screencast that says, "Musicalart: Starter Project." Then, click "remix." Next, you'll see a box where you will enteryour Scratch sign-in information. Completing that step will create and save a copy of theMusical art starter project to your Scratch account.
Take a look at this example interactive music display for today's project. When the startflag is clicked, the circles randomly fill the screen with color. When the mouse touchesa green circle, one note plays. But, when the mouse touches a blue circle, a differentnote plays. The project creates the art, but it requires a person to interact with it tomake music, just like those you saw in the intro videos. The notes you choose choosewill change the feel of your project and make it your own. ou'll also get the chance tofurther customize the project in the add ons. Now it’s your turn. Open the starter projectlink on this page and then sign in to Scratch.
Once you’ve finished this step, return to this CS First page and click the green arrowto move on to the next screencast.
Mogees - Gesture recognition with contact-microphones by bruno zamborlin (https://www.youtube.com/watch?feature=player_videoeditor&v=erz-9f4M9B4) licensed under CC-BY 3.0 (http://creativecommons.org/licenses/by/3.0/)