Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

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

Download

Sample Code (.py)

2.9 KB

Download

Course Slides (.pdf)

259.7 KB

Become a Member to join the conversation.