Skip to content

Please update your browser

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

Transcript

In this add-on, you'll program music that will play while your models walk in the fashion show.

To get started, click on the stage backdrop.

Next, click on the sound tab on your project, then on choose new sound from library.

You'll find many different sounds there that you can use in your program.

There are different categories of sounds; click on the music loops category to see different music loops or short sections of music tracks.

These loops are longer than other sounds. (electronic music)

(drums beating)

When you find a song you like, click on it.

You can now add the new song you chose to your project.

To do that, drag out a play sound until done block from the sound menu into the script editor.

The play sound block plays a specific sound without pausing the rest of the code.

This block is mostly used for quick sound effects.

The play sound until done block, on the other hand, pauses the rest of the code until the sound has finished playing.

For this example, using a play sound until done block will prevent your background music from being cut short.

Since you want the music to play continuously during your fashion show, select a forever loop from the control menu, and place it around your play sound block.

To make this code start when your fashion show starts, add a when green flag clicked event to the top of this code stack.

Click the flag to test your code.

(drums beating)

The music plays!

It's a little loud; to fix this, drag out a set volume to block from the sound menu, and put it at the top of the forever loop.

The set volume to block sets the volume level.

Change the value to something smaller than 100 percent.

Tinker with the number until you have something you like.

This example uses 50 percent.

Now, when you click the green flag, the music plays, and it sounds like it's in the background.

Now it's your turn.

Add a sound from the sound library, add play sound until done and set volume to blocks inside a forever loop.

Don't forget to add the when flag clicked event so the music will play when your fashion show begins.

Choose an Add-On
Theme Music
Add music to your program that will play while your models walk in the fashion show.
Model Sashay
Program your model to sashay when it reaches the middle of the stage.
Customize Wardrobe
Customize the wardrobe of your models.
Balloon Celebration (Challenge)
Program a balloon celebration during your fashion walk.
arrow_backward Back
Next arrow_forward
Instructions
  1. Choose an Add-On, and click "watch" to learn how to build it.
  2. Once you finish one Add-On, try another one below the video!
Attributions
  • "Fashion Walk" by csf7857 (https://scratch.mit.edu/projects/50960892/#editor) -- Licensed by CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0/)
  • "Fashion Walk Starter Project remix-8" by csf21653 (https://scratch.mit.edu/projects/43745968/) -- Licensed by CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0/)
  • "Fashion Walk Starter Project remix" by csf3616 (https://scratch.mit.edu/projects/42811530/) -- Licensed by CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0/)
  • "Fashion Walk Starter Project remix" by csf21648 (https://scratch.mit.edu/projects/42811530/) -- Licensed by CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0/)