Playing and Recording Sound in Python
Joe Tatusko
16 Lessons
40m
basics
python
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
Playing and Recording Sound in Python
16 Lessons 40m
3. playsound 02:11
4. simpleaudio 05:52
5. winsound 01:44
7. pydub (Part 1) 03:37
8. pyaudio (Part 1) 05:32
11. pyaudio (Part 2) 05:18
13. wavio 02:06
14. soundfile 01:45
15. pydub (Part 2) 01:41
About Joe Tatusko
Joe is a manufacturing engineer turned Pythonista with interests in data wrangling and visualization.
» More about JoeEach tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:



