Cultured Perl: Fun with MP3 and Perl, Part 1
Conclusion & Resources
The second part of this article will discuss the main loop of autotag.pl, and show common usage of the program.
- Read all of Ted's Perl articles in the "Cultured Perl" series on developerWorks.
- Download the autotag application (rename the file to autotag.pl in order to run it).
- The CPAN module archive contains many useful Perl programs.
- Ted chose the free FreeDB project over the proprietary CDDB / Gracenote as a database backend.
- You'll find resources on the many different audio formats including MIDI, MP3, and Ogg Vorbis at the Open Directory.
- If you've ever had trouble with
Term:Readline:Perl, try using
- The id3lib library is for reading, writing, and manipulating ID3v1 and ID3v2 tags.
MP3::TagCPAN module is for reading tags of MP3 audio files.
Webservice::FreeDBCPAN module retrieves entries from FreeDB by searching for keywords.
MP3::ID3LibCPAN module allows you to edit and add ID3 tags in MP3 files.
- The CPAN bundle installs the MusicBrainz client and required modules.
- AudioFile-Identify-MusicBrainz, another CPAN interface to the MusicBrainz service, is a pure Perl MusicBrainz client implementation.
- The IBM developerWorks article "Thinking XML: Manage metadata with MusicBrainz" discusses the metadata aspect of the MusicBrainz service.
AppConfigis a Perl5 module for managing application configuration information.
- Learn more about
AppConfigin Ted's column, "Application configuration with Perl".
- Playing around with audio? Learn more about voice-enabling your apps in the IBM developerWorks articles "Introducing XHTML + Voice -- IBM's proposal to the W3C on developing multimodal UIs" and "Multimodal applications."
- You'll also want to take a look at IBM alphaWorks' Voice Toolkit Preview.
- Or, try Music Sketcher, a graphical composition tool from the multimedia gurus at IBM Research.
First published by IBM developerWorks