Sounds can be loaded from the sound library, recorded from the microphone, or uploaded from your computer. Once these sounds are added to your Scratch project, you can play them whenever you want using a script. This movie demonstrates some of the basic concepts in working with sounds in Scratch, including how to load sounds in from the library.
- View Offline
- [Voiceover] Let's say you wanna load…a sound into your app.…On the screen I have a lion right here,…and when I go to the sounds scripts,…one of the options is to play sound meow.…So I'll click on this…(meow sound)…and that sound quite doesn't quite go well with a lion,…maybe something more like a roar, or a growl or something.…Well, if you click the drop down next to meow,…meow is actually the only sound that you see,…so to get more sounds,…you actually have to head over to the sounds tab,…and if you want this meow here,…you can just click on the X to get rid of it,…which I'm going to do,…and then we can choose a sound from the library,…record a new sound using the microphone on your computer,…or you can load a sound from a file on your computer.…
So what I'm going to do is choose…the sound from the library.…I'm going to find animal sounds,…and under animal sounds, I'm going to grab chomp.…That seems like one of the better ones for a lion,…so I'm going to select chomp,…and if you wanna preview you can just click the play button,…
He starts with demonstrating how to create your first project and gather the artwork (aka sprites) and other assets you'll need to build it. Todd then reviews the prebuilt scripts, the bits of code that control the logic of your Scratch projects, and explains how to use the different script types for different functions, such as animating sprites, responding to events such as button clicks, and comparing values. In chapter 3, he covers costumes, and in chapter 4, he shows how to load and play sounds. Finally, he shows how to put it all together into a complete web game, which you can then share with the Scratch community.
- What is Scratch?
- Creating your first project
- Choosing a backdrop for your application
- Creating sprites (reusable graphics) in Scratch
- Working with scripts: animating objects, responding to events, and checking logic
- Switching sprite costumes
- Changing the appearance of sprites with custom-drawn costumes
- Playing sounds
- Building a game with Scratch