You can add sound to many places in your project. You might add a long musical loop that playsrepeatedly during your entire story. You could add sounds that play occasionally throughoutyour story. Or, you can even write your own music. This video will show you how to getstarted adding any type of sound. Click on the Character sprite and the Sounds tab.
Click the play button to listen to a sound. The starter project comes with severalsounds you can use, but you can also add a sound from the Scratch sound library, uploada sound from your computer, or even record your own voice or sound if your computer hasa microphone. Most laptops have a microphone.
This example will add the dog1 sound from the Scratch library, but you will use soundsthat are right for your story. Once a sound is listed in the sounds tab, you can use itin the “play sound” blocks. On the Scripts tab, under the sound menu, Dog1 now showsin the “play sound” block.
The "play sound" and "play sound until done"blocks have similar names, but they have one important difference. The "play sound" blockstarts playing a sound, then moves on to run the next block. The "play sound until done"block waits until the sound plays completely before it moves on to the next block.
This example uses two "play sound" blocks, so the “dog” and “meow” sounds playalmost at the same time. The dog sound starts to play, and the meow sound starts beforethe dog sound finishes. If a "play sound until done" block is used, the dog sound plays throughuntil the end, then the meow plays.
Add “play sound blocks” to your story where you’d like the sound to play.
To make a sound or sounds play repeatedly forever when the flag is clicked, add a "playsound until done" block inside a forever loop under a "when flag clicked" block.
Or, use "play note" and "set instrument" blocks to write your very own song.
There are many ways to use sound to make your project more creative and engaging.
Have fun exploring and adding sounds or music to your story.
Now, it's your turn. Use sound blocks like "play sound," play sound until done," and"play note" to make your project more creative.
Choose an Add-On
Add sounds to your story.
Walk in the Park
Add another object for your character to encounter in your story.
Change of Scene
Add a scene to the end of your story, and stop your character's walk.