Tagging the Audio
Now that we have a converted, sped-up faster.mp3 file, we could simply leave the new file as is and finish up the project. But while the faster.mp3 file will play back just fine on the audio apps we’ll listen to it with, the presentation won’t be all that helpful. The faster.mp3 file is missing important metadata like the title and the author of the content. It also doesn’t have any cover art, so our audio player programs will substitute whatever placeholder art for the missing cover art we failed to embed in the file.
We can easily address these deficiencies by calling upon the Python mutagen third-party library. Mutagen is a library that can be called upon to manipulate a variety of metadata stored in an MP3 file. Depending ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access