Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

arrow_back Add Background Music

Transcript

Now, add some background music to your project and turn up the fun.

This will create a soundtrack that plays while your sprites perform the actions you coded.

To start, add a sprite to your project.

Scroll through the library of available sprites until you find the letter you need for your name.

Click on the sprite to add it to your project.

This example uses the letter A, but you will add a sprite for the name you are animating.

Click on the Sounds tab.

Delete the Meow sound.

Then, add a sound to your project.

Find a sound that you like in the Scratch library.

Select the Music Loops category, which has short pieces of music that can play in a loop.

(upbeat music)

Select the sound you want to add to your project.

Then experiment with the different sound editing options to customize your background music to fit your animation.

You can make the loop play louder or softer or even play the loop backwards.

When you're done experimenting, return to the Code tab.

Make sure the sprite you added is selected.

Select the Sound menu.

Click, hold, and drag out a play sound until done block.

Choose the sound you added from the dropdown menu.

Click the block to find out what happens.

(upbeat music)

Your background music plays.

To make the music play when the sprite is clicked, go to the Events menu.

Drag out a when this sprite clicked block and snap it to the top of your block.

Click the sprite.

(upbeat music)

Great!

Now the music plays when the sprite is clicked.

Now it's your turn.

Add a sprite to your project.

Click the Sounds tab and add a sound from the loops menu.

Add a play sound until done block.

Add a when this sprite clicked event.

Once you've finished these steps, return to this page to select another add-on to try.

Choose an Add-On
Change Color
Change the color of a letter when it’s clicked.
Grow and Shrink
Change the size of a sprite when it’s clicked and add a sound to match the animation.
Draw a Letter
Draw your own letter and make it move.
Spin
Add a letter and rotate it when it’s clicked.
Bounce
Move the sprite up and down and add a sound as it bounces
Wave
Create and change to different costumes.
Bounce Everywhere
Move the sprite all around the stage, then make it return to a specific point.
New Backdrop
Switch to a different backdrop by clicking the letter or sprite.
Say Something
Make the letters talk to each other when the green flag is clicked.
Sprite Dance
Make a sprite dance when the sprite is clicked.
Add Background Music
When you click a sprite, play a song and change the background
Play a Beat
Play a drum beat when the sprite is clicked.
Next arrow_forward
Instructions
  1. Watch the introduction video.
  2. Open the Starter Project below.
  3. Return to this page and watch more videos to customize your project.
Attributions
  • "NYSD - Pet Name" by techwonder21 (https://scratch.mit.edu/projects/226242085/editor) -- Licensed under CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0/)
  • Animate a Name is based off of the 'Animate Your Name' Scratch tutorial (http://scratch.mit.edu/name) developed by Scratch team at the MIT Media Lab. It was adapted and re-developed by Google in partnership with 4-H (http://4-h.org/), West Virginia University and Utah State University for National Youth Science Day 2018 (https://4-h.org/parents/national-youth-science-day/), 4-H's largest annual STEM challenge.
  • "4H_Emblem" by US Government (https://commons.wikimedia.org/wiki/File:4H_Emblem.svg) -- Licensed by CC0 Public Domain (https://creativecommons.org/share-your-work/public-domain/cc0/)
  • "NYSD - Adjective Name" by techwonder21 (https://scratch.mit.edu/projects/226481973/editor) -- Licensed under CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0/)