Please update your browser
Your browser version is not supported by this site. CS First may not work properly.
This video introduces adding sound to your project.
It won't tell you exactly where to put the blocks however,
so use your courage and persistence.
If you need help, ask a neighbor.
To program your project to play a sound,
you will first need to add that sound to your project.
To do that, click on the sounds tab
and choose sound from library.
When you find a sound that you like, click on the sound.
Click back on the tab to go back to programming.
Click on the sounds tab.
There you will find the play sound
and play sound until done blocks.
The play sound block starts playing the sound,
then immediately runs the code after it.
The play sound until done block waits
until the sound finishes playing before continuing on
to the next block.
To make the sound play continuously inside a loop,
use the play sound until done block.
Play sounds when players catch objects,
when objects appear, or constantly during the game.
You can even add different sounds for different objects.
The cool thing about computer science is that you have
the power to create anything in your program.
Now it's your turn.
Add sound effects to your projects using the play sound
or play sound until done blocks.