© Stewart Watkiss 2020
S. WatkissBeginning Game Programming with Pygame Zerohttps://doi.org/10.1007/978-1-4842-5650-3_8

8. Sound

Stewart Watkiss1 
(1)
Redditch, UK
 

Adding sound to a game will add an additional dimension and can help bring the game come to life. This can be achieved by adding special effect sounds or adding background music to set the mood. You may also use the sound as a key component in the game.

As well as looking at how music can be added to a game through Pygame Zero, this chapter will also look at ways of creating the sound effects or music and some of the tools that can be used to process the sounds.

This chapter starts with looking at how you can create your own sounds and music. If you are just interested in using sound effects ...

Get Beginning Game Programming with Pygame Zero: Coding Interactive Games on Raspberry Pi Using Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.