A Install Modules to Play Audio Files

In this appendix, I’ll discuss the various modules for playing audio files in Python. While there is no feasible way to account for all the differences in hardware and operating system combinations, I have tested the instructions in this book on a variety of hardware and software platforms. In doing so, I encountered various problems, and I want to help you avoid those problems.

There are two types of modules when it comes to playing audio files. The first type (which we can call blocking) will take control of the script and won’t let your execution move to the next line of code until the audio file is ...

Get Make Python Talk 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.