Lower Elementary
Computer Science
Animal Sounds
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.
If you see this popup, click “Allow”
Vocabulary
Halloween option
We can program sprites to talk!
Introduce “When Tapped” block
Act out the code. When I TAP an animal, YOU say the sound it would make.
When the animal is tapped,
You make the animal noise!
Code with Sound Blocks
We can record our voice with a “sound” block!
Add a dog character.
Add a “start on tap” event.
Click the sound category and then the microphone to start a new sound.
Click the square to stop recording.
Click red to record, then speak!
Record your name!
1
2
Click the check to add the “sound” to your code blocks
Record your name!
Click the triangle to listen to the recording
1
2
Add your new “sound” block to your event.
Tap the dog to hear what it says!
Add a new animal and program it to make a noise!
Ready for more?