Playing Sound in Python
00:00 To get started with sound in Python, you’re first going to learn how to play audio files from your computer.
00:06 You can see from this list that you have a number of options available.
00:11
You’re going to learn how to use playsound
, simpleaudio
, winsound
, python-sounddevice
, pydub
, and the pyaudio
libraries.
00:21 These options will allow you to play a bunch of different file types and are made to work on different platforms. Don’t worry if this seems like a lot. Focus on the code you use for each one, and we’ll recap at the end on when you would want to use one over the other.
00:37
Now it’s time to get to the code editor and try out playsound
.
Become a Member to join the conversation.