Lesson Plan
Music & Sound

Overview

In this activity, club members will create a colorful collage by programming a repeating pattern. Then, they will make the colors in the collage play a sound when the mouse touches them.

Volunteer Focus

  • Use the club agenda timer to help club members stay on track.
  • Encourage club members to work through difficult problems.
  • Encourage persistence and hard work, rather than speed of completion.

Agenda Summary

This agenda is designed for a 60-minute lesson. To customize the agenda for clubs of a different length, visit www.cs-first.com/dashboard. and use the Agenda Timer.

Time (mins) Agenda Item
5 Introduction
3 View Showcase Projects
2 Transition to Computer Time
8 Watch Video 1 and Create
12 Watch Video 2 and Create
15 Watch Video 3 and Create
0 Choose Add-Ons and Create
2 Start Wrap-Up: CS First Reflection
4 Watch Wrap-Up Video
4 Share Projects
1 Select Showcases
4 Club Discussion

Topics Introduced

  • Conditionals ("if-then" block)
  • "Sensing" block

Topics Reinforced

  • Events
  • Movement
Introduction (5 minutes)
Directions Student Instructions
1. Greet members at the door as they arrive.
(Show script)

Hi [name]. Welcome back!

2. Ask members to pick up their passports, then sit at an empty computer and log in.
(Show script)

Everyone please pick up your passports and go to a computer. Sign in to CS First and Scratch. Once you have logged in, please turn off your monitors.

3. Once all members are seated and logging in to their computers, privately ask members who are sitting alone to move to a computer near other members.
(Show script)

Hi [name]. Today you’re going to need to be sitting near others to work on this project. Would you mind moving to a seat where you’ll be able to interact with other club members?

4. Use the silent signal to get member attention.
(Show script)

[Silent signal] I need everyone’s attention up here, please.

5. Have all members turn off monitors and remove headphones before starting. It is important that you enforce this rule or members will use the computers instead of interacting.
(Show script)

Everyone please turn off your monitors, so we can begin the introduction [wait for all members to turn off monitors].

6. Review previous club.
(Show script)

Can someone please raise their hand and tell me what we worked on last club? [Dance Party] What block makes something happen over and over again? ["forever or "repeat" block.] What block might you use if your sprite is moving or changing costumes too quickly? ["wait" block.]

7. Introduce the Musical Art activity, which uses "sensing" blocks and conditional statements.
(Show script)

Today you will create a Musical Art Project. This project will introduce an important computer science concept: conditional statements.

 
  1. Pick up your passport.
  2. Choose a computer.
  3. Log in to your computer.
  4. Turn off your monitor.
View Showcase Projects (3 minutes)
Directions Student Instructions
[For instructions on finding and selecting showcases, see the "Preparation" section of this club plan. Remember that club members can opt out of having their projects shown. If the selected club members do not want to showcase their projects, you may ask for one or two volunteers to show their projects.]
  1. Transition to showcase.
    (Show script)

    [Pointing at agenda] Before we begin programming this activity, let's view the member showcases selected at the end of last club. We will play each project, look at the code, and then applaud how awesome the project is. Let's look at the first project!

  2. Run first project and discuss.
    (Show script)

    Someone please raise your hand and tell me what types of blocks you think might be used in this project?

  3. Look at code by clicking the "See Inside" button.
    (Show script)

    Let's take a look at the code used in this project. [Show code and mention a few of the blocks used in the project.]

  4. Cheer and clap.
    (Show script)

    Wow! Amazing! That was a great project! Let’s give them a great big round of applause!

  5. Repeat steps for any additional projects.
  1. Enjoy projects from last club!
  2. Make some noise!
Transition to Computer Time (2 minutes)
Directions Student Instructions
  1. Introduce computer time.
    (Show script)

    [show agenda] Now, we're going to move into the computer time.

  2. Remind members to use a sticky note if they have a question. [optional]  
    (Show script)

    If you have a question during this time, ask your neighbors for help. If they can’t help you, put a sticky note on your monitor and, I will come help you.

  3. Remind members that at the end of this activity you will pick a few projects to share next club.
    (Show script)

    Remember that at the end of this activity we will pick a few people’s projects to show at the beginning of next club.

  4. Have members turn on monitors and navigate to CS First website.
    (Show script)

    Please turn on your monitors, go to the CS First website, and start watching the first video.

  5. If there are new club members, provide them with your club code and ask them to go to cs-first.com/go to get sign-in information.
    (Show script)

    If today is your first time in this club, please begin by going to cs-first.com/go. Click "Enter Club Code," then follow the directions to get a sign-in and password.

  1. Go to cs-first.com.
  2. Sign in with the username and password from your club pass.
  3. Start watching the first video.
  4. If it's your first day, welcome! Go to www.cs-first.com/go and click "Enter Club Code" to get started. Ask your Guru for your club's code.
Watch Video 1 and Create (8 minutes)
Directions Student Instructions
Immediately after asking members to begin watching the first video:
  • Answer questions promptly so members can get started on the activity.
  • Go to a place in the room where you can see all of the monitors. Ensure that all members have begun to watch the first video. Look for members who are either not on the CS First site or who are watching the wrong video. Politely and privately redirect these members to the correct video.
Check that members have opened the starter project. The Solution Sheet shows an example of a blank starter project.
(Show script)

I see that you've watched the first video and were able to get to Scratch. That's great! Next, open a starter project. To do that... [guide member to starter project link].

 
Club members should watch the videos and build at their own pace. Some club members will work faster or slower than others. If you notice that club members are behind the times set by the agenda, work with them so that they’re able to finish the activity on time (the add-on selection page is not part of the core activity). Periodically, check for club members who are falling behind the agenda. Look at the video number on the CS First tab to determine where a member is in his or her project.
  1. Open the starter project.
  2. Remix the project.
  3. Sign in to Scratch.
Watch Video 2 and Create (12 minutes)
Directions Student Instructions
 
Look for club members who are designing (adding sprites, backdrops, etc.), and encourage them to experiment with code.
(Show script)

I see that you've spent a lot of designing this project. Do you have any plans for how you want to code it? Why don't you try experimenting with different blocks to see what you can make it do?

  • Club members might struggle with the idea of x and y coordinates. Look for club members whose stamped pattern does not cover the whole screen when the code is run, and encourage them to increase their x and y coordinates. To cover the whole stage, they should use -240 and 240.
  • To help club members understand why their stamp does/does not fill the stage, encourage them to tinker with the value in the "repeat X" block. 
  • When members struggle to remember the code that they saw in the video, or when you see members switching often between the video and their Scratch project, remind them that they can use the hint sheets as a resource.
    (Show script)

    Remember [name], you can use the hint sheets to help you with the code for this project.

  1. Use the "go to" block to make the sprite go to a specific spot.
  2. Make the sprite go to a random spot.
  3. Make the sprite leave a stamp of itself.
  4. Make the sprite repeat going to a random spot and stamping itself.
  5. Start with a clear screen when the green flag is clicked.
Watch Video 3 and Create (15 minutes)
Directions Student Instructions
  • Circulate around the club, and speak to club members individually.
  • Watch for sticky notes indicating a question.
  • Often club members need to add a forever loop around the "go to mouse pointer" block in order to make the program continue to run.    
    (Show script)

    Right now you start your program by clicking the green flag and telling the sprite to go to the mouse pointer.  How do you think you would tell the computer to keep the sprite following the mouse pointer forever?  Drag in a "forever" loop from the control menu.  Now, try adding that to your code and see what happens.

  • Make sure club members understand they need one "If-then" block for each color they use, and that they can duplicate the blocks by right-clicking on the code stack.
  • Notice club members who have only a few "if" statements in their code.  They might not understand how to duplicate code or select the color for the "sensing" block.
    (Show script)

    Hey [name]- How's it going? I notice you have some sensing blocks here for the different colors in your program.  Have you figured out how to duplicate your code? Just right-click and choose "duplicate" [watch club member duplicate code].  Awesome.  Now, if you click on the color block, then click on the color you want on stage, you can program your new sound to play when this color is touched.  Great work - I'll check back in with you in a few minutes [check back in with club member in a few minutes- praise them for progress and/or encourage troubleshooting].

  • Club members may have trouble selecting the color. They need to click the color box, wait for the hand icon, then click on the color they want to match. This step presents a great opportunity to encourage persistence.
  1. Make the X sprite go to  the mouse.
  2. Make the X sprite follow the mouse FOREVER.
  3. Learn about the "if" block.
  4. Make the "if" block say "if touching color."
  5. Make the X sprite play a note if it is touching green.
  6. Copy the if statement, then change it to make each color in your project play a different note.
  7. Add a "when green flag is clicked" event to start the program.
Choose Add-Ons and Create (0 minutes)
Directions Student Instructions
During this time, members customize their projects by trying some add-ons. Add-ons allow members to explore programming concepts and features as they follow the guidance and instruction in the videos.
  1. Walk around, and encourage members to try the add-ons that interest them.  
    (Show script)

    It looks like you've finished the core videos. That's great! Move to the next page to learn about different ways to customize your project.

  2. Help members navigate the add-ons menu.
    (Show script)

    "When you click "watch," the add-on will open. To go back to the add-on selection screen, click on the X at the top of the video."

  3. If you notice that members have not saved or shared their projects (You will see a "See project page" button in the top right corner of the project editor on projects members have shared.), encourage them to do so before they continue working on add-ons.
    (Show script)

    I see that you're working on the add-ons. Be sure to save your project, and click "Share" to make it available to the Scratch community.

Add-Ons Overview (See "Cheatsheet" for Solution Code):
  • Change Instrument and Tempo: Club members make their musical art piece change instruments and tempo when the yellow "X" sprite touches different colors. 
  • Make it Melodic with a Chord: Club members will make their project play chords, not just individual notes. 
  • Easter Egg Surprise: Club members will add a color to their art piece that plays a surprising sound when touched.  
  • Color Changing Sprite: Club members will make the yellow "X" sprite change colors, depending on what color it is touching. 
  • That’s So Random! Club members will create another yellow "X" sprite that plays random notes as it moves around their art piece. 
  • Sprite Trail:  Club members will create the illusion of a color-changing trail that follows the yellow "X" sprite across the screen. 
 
  1. Click on any of the boxes to go to that add-on video
  2. When you finish, come back to the add-ons screen and try another add-on!
 
Start Wrap-Up: CS First Reflection (2 minutes)
Directions Student Instructions
  1. Get everyone’s attention using the silent signal.
    (Show script)

    [silent signal] Can I have everyone’s attention up here, please?

  2. Ask club members to click the next arrow until they reach the reflection page, then to complete the reflection.
    (Show script)

    Now it's time for the CS First club reflection and wrap-up video. Click the 'next' arrow, and complete the reflection. Then, click the next arrow and watch the wrap-up video. While you do this, I'll walk around and hand out participation badges.

  3. Walk around, and ensure that club members are transitioning to the reflection page.
  4. Give out participation badges (stickers).
  1. Complete the CS First Reflection.
Watch Wrap-Up Video (4 minutes)
Directions Student Instructions
  1. Prompt club members to complete the club reflection, then move on to the wrap-up video.
    (Show script)

    After you've completed your reflection, click the 'next' arrow to watch the wrap-up video. While you're finishing these final steps, I'll continue to walk around and award the participation badges for this activity.

  2. Ask club members to write a shout-out for a clubmate. [optional] 
    (Show script)

    After watching the wrap-up video, write a positive note to a clubmate on your sticky note. Thank someone who helped you, or call out a great project. Once you've written a shout-out, come place it on the G+ board.

  3. Continue to circulate around the club, and pass out participation badges.
  4. When the Agenda Timer indicates that 30 seconds remain in this section, remind club members about the time.
    (Show script)

    You have thirty seconds remaining until we begin sharing projects.

Write a G+ shout-out!
Share Projects (4 minutes)
Directions Student Instructions
  1. Tell club members to return to Scratch, and click the "share" button.
    (Show script)

    [Silent signal] Please return to your Scratch project. If you haven't already, please name your project, and, if you’d like, share it by clicking the "share" button in Scratch. Sharing you project will allow any user on the Scratch website to view it. If you can't find the "share" button, ask a neighbor for help. Once you've shared your project in Scratch write a description that explains how to use it. Then, in one minute, we'll begin sharing projects with our neighbors.

  2. Ask the club to begin sharing their projects with the person or people sitting next to them.
    (Show script)

    Everyone please begin sharing your projects with the people sitting near you. During this time, I shouldn't see anyone working on their projects.

  3. Walk around and encourage club members who haven’t shared their projects (the share button will still be visible in the top-right corner of the screen) to do so. If club members don’t wish to share, that’s okay. Ensure that all club members are engaging in this social aspect of the club by either sharing their project with a neighbor, or talking to other club members about their project.
  1. Click the "Share" button in Scratch.
  2. Share your project with a neighbor.
Select Showcases (1 minutes)
Directions Student Instructions
  1. Display showcase selector on board (follow the link at the top of this club plan).
  2. Get everyone’s attention using the silent signal and request that club members turn off their monitors. Ensure that all monitors are turned off before beginning (club members won’t need to use their computers again during this club).
    (Show script)

    [Hand raised] Everyone please turn your monitors off and direct your attention up here.

  3. Transition to the showcase selector.
    (Show script)

    It's time to select showcases for next club. Let’s get excited!

  4. Run the showcase selector.
    (Show script)

    Here we go! Let’s press the "Choose a Showcase!" button and see who gets selected! And we have… CSF###!

  5. Using the club roster, find and say the names of the club members selected.
    (Show script)

    Wonderful! CSF### is...  [name]! I’m really looking forward to seeing [member names] projects next club.

  6. Remind members to share their project.
    (Show script)

    If you were one of the members selected, make sure that we'll be able to see your project by clicking the share button at the top of the project editor. If you didn't do that for this project, make sure you do it first thing at the start of next club.

  7. Tell members what to do if they don't want their project shown.
    (Show script)

    If you were selected, but you don't want your project shown next club, please see me after this club or before the beginning of next club.

 
  1. Know your CS First ID.
  2. Celebrate the projects selected!
Club Discussion (4 minutes)
Directions Student Instructions
  • Briefly review and highlight some G+ posts that club members made.
    (Show script)

    Let’s look at some of the G+ shout-outs that club members received for their work during this activity. [Read a few G+ shout-outs aloud].

  • Lead whole-club discussion.
    (Show script)

    Finally, let’s discuss what you learned during this activity. [Read "discussion questions" below].

  • Preview next club.
    (Show script)

    Next club is on [day of next club (e.g. Monday)], and you will build [description of project].

  • Exit.
    (Show script)

    Once your headphones are wrapped up and your computers are shut down, we will all leave together. I look forward to working with you again next club!

 
Discussion questions:
  • What was your favorite part of this activity?
  • How did you use "If" statements? [Example response: I told my sprite to make a noise "if" it touched a certain color.  It controlled what happened or did not happen in my program.];
  • How did you use a "forever" or "repeat" block? [Example Response: Once the green flag was clicked, I had my "X" sprite follow the mouse pointer forever.  Also, I had my other "If statements" run forever to test if different colors were touched by the sprite.
 
 
Next Activity: Musical Talent Show with a Badge Activity Scavenger Hunt 
  1. Participate in discussion.
  2. Clean up computer station.
  3. Wrap headphones.
  4. If instructed to by your Guru, shut down computers.

After members have exited the room: