Time for action - a horse whinnies

In this exercise, we'll import a sound from Scratch's library:

  1. With the horse sprite selected, click on the Sounds tab.
  2. Click the Import button to display the Import Sound dialog box.
  3. Browse to the Animal folder and select Horse.
  4. Click OK to add the sound to the list of sounds for the horse sprite.
  5. Listen to the horse whinny by clicking on the play button.
  6. Now, let's add the sound to several places in our script. From the Sound palette, add the play sound Horse until done block to the top of the script.
  7. Insert a second play sound Horse until done block after the say Mow a hay field for 1 secs block.
  8. Insert the play sound Horse block after the next costume and before the wait 1 secs block.
  9. Run the script.
Time for action - a horse whinnies

What just happened?

We used Scratch's sound library to add a horse sound to the scene as we continued to build our story. We introduced the horse with a whinny, and then we reiterated the sound after the joke's punchline. Because of what we did with the horse, the first whinny was more of a welcoming message, while the second whinny was a nervous reaction.

I learned how to use some additional markup tools in acrobat!. The first two times we whinnied, we used the play sound until done block, so our script stopped until the sound finished playing. At the end, we used the play sound block, which allowed the horse to do several things at one time, such as talk, rear up, and whinny.

We used this combination of actions to make our horse appear nervous, which injected emotion into our story.

Sound formats

Scratch includes a library of sounds that can be used in any of your projects, but you can also easily import your own sounds. The Import button on the Sounds tab provides a dialog box that lets you browse the Scratch sounds on your own computer.

In addition to the MP3 format, Scratch can play uncompressed WAV, AU, and AIF sound files in 8-bit or 16-bit sample rates.

The dog enters

With our horse scene complete, we'll move on to the dog.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.38.24