Scratch actually allows you to create not only sounds, but music as well. Using the scripts built into Scratch, you can make a song, and if you want, a looping beat. This movie demonstrates some of the key concepts to understand when working with beats in Scratch. Topics inlcude how to make a beat loop properly, how to calculate how long each note should be in a loop, and how to apply a loop script.
- [Voiceover] The sound options in Scratch allow…you to do even more than just play simple sound effects.…If you look at the play drum and play note settings,…you'll notice that they're done for a certain…number of beats.…Now, using these numbers and using math,…you can actually create a looping beat for a…background music for one of your apps.…For example, if we wanted to start playing a beat…when the green flag was clicked we can drag that…event script out, then head back over to control.…
Now, in control we create the loop by calling the…forever block.…So, I'll drag the forever block out and put that…underneath when green flag clicked.…Now I'll head back over to sound.…Let's say I wanted a hi hat to be playing four…or eight times forever in a loop.…Well, to do that, I could just drag out play drum…four beats and put that inside the forever block.…And, I'm going to click on the drop down.…And, I'm going to choose close hi hat.…
Now, of course, you can choose anything you want.…But, I'm going to choose close hi hat here…
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
Skill Level Beginner
Teaching iOS Programming to Kidswith Todd Perkins1h 1m Beginner
Teach Kids Programming with PHPwith Mark Niemann-Ross1h 39m Beginner
1. Get Started with Scratch
5. Build a Game
Next steps2m 36s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.