1 of 20

Lower Elementary

Computer Science

Animal Sounds

2 of 20

Objective

Students will be able to use “sound” blocks to program a character to speak.

NOTE: This lesson requires students to record using a microphone. If you do not have headphones with microphones you should consider skipping this activity.

3 of 20

If you see this popup, click “Allow”

4 of 20

Vocabulary

5 of 20

6 of 20

Halloween option

7 of 20

We can program sprites to talk!

8 of 20

Introduce “When Tapped” block

9 of 20

Act out the code. When I TAP an animal, YOU say the sound it would make.

10 of 20

When the animal is tapped,

You make the animal noise!

Code with Sound Blocks

11 of 20

We can record our voice with a “sound” block!

12 of 20

Add a dog character.

13 of 20

Add a “start on tap” event.

14 of 20

Click the sound category and then the microphone to start a new sound.

15 of 20

Click the square to stop recording.

Click red to record, then speak!

Record your name!

1

2

16 of 20

Click the check to add the “sound” to your code blocks

Record your name!

Click the triangle to listen to the recording

1

2

17 of 20

Add your new “sound” block to your event.

18 of 20

Tap the dog to hear what it says!

19 of 20

Add a new animal and program it to make a noise!

  • Add a new animal.

  • Add a “start on tap” event.

  • Make the animal noise using a “say” or “sound” block.

  • Add the sound to the sequence!

20 of 20

Ready for more?

  • Add more animals making noises.

  • Program the animals to move when tapped!