In this exercise, we'll import a sound from Scratch's library:
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.
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.