Topic 5 - Adding Sounds

This section will show you how to add sounds. to your pygame files. You can either add a short sound effect and play multiple instances at a time, or add a longer background sound file.

Topic 5 - Adding Sounds

What To Do?

1 - Start with the Adding Sounds.py file, or use your own file from Topic 4.5 - Collision with the Keyboard.

2 - Download the three sound files in the Files section at the bottom of this page. You will need to put them in the same folder as the .py file you want to include them in.

3 - Complete the tutorial. There is a solution to this tutorial in the Files section at the bottom of this page.

What to Submit?

There is nothing to submit here.

Tutorial

Topic 5 - Adding Sounds.pdf

Files