In addition to the basic PyQt setup described in Chapter 1, Getting Started with PyQt, you will need to make sure the QtMultimedia and PyQt.QtMultimedia libraries are installed. If you installed PyQt5 using pip, then it should already be installed. Linux users who are using their distro's package manager should check that these packages are installed.
You may also want to download the code from our GitHub repository at https://github.com/PacktPublishing/Mastering-GUI-Programming-with-Python/tree/master/Chapter07, which contains not only the example code but the audio data used for these examples.
If you want to create your own audio files to work with, you might want to install the free Audacity sound editor at https://www.audacityteam.org/.
Finally, you will get the most out of this chapter if your computer has a working audio system, microphone, and...