Comp6 Module3 2ndquarter
Comp6 Module3 2ndquarter
Expected Outcomes
Questions to Ponder
In this lesson, you will learn the different sound blocks in scratch
programming. Using sound blocks adds another dimension to your
animations and games and can help enhance the user experience, for example
if you add sound effects that correspond with events in a game.
Grade 6- Computer 56
Lesson 3- Play sound files and Compose music.
The Concepts
A sound is an item which one hears that can be played in a Scratch project,
available by importing, Scratch's built-in sound library, or recording. Sounds are
played by using the sound blocks, which control a sound's volume, tempo, and more.
All sounds in Scratch are played in mono.
Sounds are the items that are available only by importing or recording. These
can be obtained in the "Sounds" tab, in which one can import, record, play, and edit
sounds.
1. Play sound - Begins the sound and executes the rest of its script, without
waiting for the sound to finish playing.
2. Play sound until done - Plays a sound, waits for it to finish playing, and will
carry on with its script.
3. Stop all sounds - Cancels all sounds currently playing.
4. Set volume to %- Sets a sprite's volume.
5. Change volume by — Changes a sprite's volume by a given amount.
Grade 6- Computer 57
Lesson 3- Play sound files and Compose music.
Audio Files
Scratch recognizes only two audio formats, WAV and MP3. The play sound
block is used to start playing sound and continues to the next block immediately.
Whereas the play sound until done block waits until sound is finished playing
before continuing to the next block. The stop all sound blocks is used to
immediately turn off any sound that is playing.
Referring to the figure above, you can use create background music in two
ways depending on the approach you want, be it short or long. Sometimes it is
noticeable that there is a pause between consecutive restarts. Using a wait
command, you can control the play duration.
Grade 6- Computer 58
Lesson 3- Play sound files and Compose music.
References:
Fontanilla, Aimee, Theresa A., et. al (2017). Digi titans 6 ICT Essential for the
Future. Tec Factor Inc.
https://scratched.gse.harvard.edu/sites/default/files/learn-scratch-lesson-6-add-music-
using-audacity.pdf
https://en.scratch-wiki.info/wiki/sound
Grade 6- Computer 59