Skip to content

(upbeat music)

In this add-on, you'll add a song to your story and control it's volume, based on which part of the story is being told.

(upbeat music)

To start, click the stage.

You could add sound to any sprite, but because there is so much other code for the other spites, this example will add the code to the stage.

Click the sounds tab, and choose sound from library.

To find a song to loop, click music loops.

Choose music that matches the emotion of your story.

If it's an upbeat pitch, use fast upbeat music.

If it's serious, use dramatic music.

(upbeat music)

(dramatic music)

Next, click the sound menu, drag out a play song until done block, and make sure your sound is selected in the drop down.

To play the sound repeatedly, click control and add a forever loop.

Make the music play at the beginning of the program by adding a when flag click block to the top of the stack.

Click the flag to test it.

(upbeat music)

Great, the story now has music in the background.

Next, program the music to play at different volumes during each part of the story.

In this example, the volume starts low and rises to its full volume by the end.

To set the sound to a low volume, click the sound menu.

And add a set volume block.

Choose a small value, like 10%.

Place this block after the when flag click block.

Click the flag to test.

(upbeat music)

Great, the music is quieter.

(upbeat music)

To set the music to a high volume, drag out another set volume block.

To tell this code to run at the end of a program, click the narrator sprite, and broadcast a new end message from the end of the conclusion block stack.

If you program the fireworks add on, you'll already have an end message.

Then, click back to the stage, and add a when I receive block, and select end in the drop down menu.

Test your program.

(upbeat music)

The music starts with a low volume, (upbeat music)

then goes up to full volume at the end of your story.

(upbeat music)

Now it's your turn.

Click the stage, and choose a sound from the sounds tab.

Program the sound to loop at the beginning of the program with when flag clicked, and play sound until done blocks in a forever loop.

Program the volume to start low with a set volume block.

Program the volume to be loud at the end of the story by broadcasting it end message, receiving that message and setting the volume to 100%.

Choose an Add-On

Scene Change

Change the setting of your pitch for each part of the story.

Protect Your Idea

Ask the audience to agree to not share any of the ideas in your story with other people.

Building Volume

Add a song to your story and control its volume based on which part of the story is being told.

Add Interactivity

Make the end of your pitch interactive by asking the audience a question and responding accordingly.


  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!
  • The song “Venture Out” is © SmartSound-- CC-BY-SA 4.0 does not apply.