Playing and Recording Sound in Python (Overview)
In this course, you’ll learn how to play and record sound in Python using some of the most popular audio libraries. You’ll learn about the most straightforward methods for playing and recording sound first, and then you’ll learn about some libraries that offer some more functionality in exchange for a few extra lines of code.
By the end of this course, you’ll know how to:
- Play MP3 and WAV files, as well as a range of other audio formats
- Play NumPy and Python arrays containing sound
- Record sound using Python
- Save your recordings or audio files in a range of different file formats
00:00 Hello! And welcome to the Real Python guide to Playing and Recording Sound in Python. If you’ve ever wanted to work with sound in some way on your projects, this is the course for you.
00:10 We’re going to cover quite a few libraries available for working with sound, split up into three categories. First, you’ll learn how to play audio files that have already been recorded.
00:22 Next, you’ll see how you can start to record your own audio using Python. Finally, you’ll cover saving those files and converting them to the many different file types available for audio. Let’s get started.
Become a Member to join the conversation.