Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more


In this video, you will learn how to make your imaginator make noise.

First, add a sound to the project.

Click on the “sounds” tab, then on “choose sound from library.”

Click on the play buttons next to the sounds to hear them.

Use a short sound so your Imaginator will react quicker when the spacebar is pressed.

After choosing a sound, click on it, then click “OK.”

Next, program your project to play the sound.

There are two blocks that play sound, “play sound” and “play sound until done.”

The “play sound” block plays a sound until another sound is played.

If you put a "play sound" block inside a loop, the computer restarts the sound every time the loop runs, so the sound never plays in its entirety.

You may not even hear it at all.

The “play sound until done” block, on the other hand, completes the sound before anything else happens in the program.

Placing this block inside a loop makes the computer play the sound from beginning to end before it runs the loop again and replays the sound.

Place a “play sound” or “play sound until done” block in a spot in your program that makes sense to you.

Test it!

[drum plays repeatedly] [drum plays once] Computer scientists test their code often to make sure it works and figure out how to fix any problems or mistakes.

Now it’s your turn: Add a sound to your project.

Then, use the “play sound” or “play sound until done” blocks to program that sound to play.

Choose an Add-On
A Bigger Future
Add Another Image (Part 1 of 2)
Add Another Image (Part 2 of 2)
Program Introduction
Talking about the Future
Secret Code
arrow_backward Back
Next arrow_forward
  1. Choose an Add-On, and click "watch" to learn how to build it.
  2. Once you finish one Add-On, try another one below the video!