Slashdot Mirror


Cultured Perl: Fun with MP3 and Perl, Part 1

Ted writes "Every self-respecting computer and music fan needs to be able to manipulate MP3s -- the defacto standard for recreational digital music use. In this article, I'll look at ways to manage and manipulate MP3s (searching, tagging, renaming, commenting, etc.) using the autotag.pl application. I'll also take you through the application, illustrating how CPAN modules enable the application."

4 of 232 comments (clear)

  1. Re:Nice to know... by rf0 · · Score: 4, Insightful

    Hes an engineer so he will, like most of us spend 20 hours writing something when he could do it in 10 with someone else code or in 5 if doing it manually

    Rus

  2. Re:Tagging my ass... by drinkypoo · · Score: 4, Insightful
    ID3 tags exist so that even "improperly" named MP3 files can have valid information. Also, would you prefer to encode artist, title, album, and track number information in every MP3? I god damn HATE it when people put ALL that in there. The filenames frequently exceed filesystem limits; They won't even fit on a mode 2 ISO9660 cdrom (let alone MODE1), so you can NOT put all that information into the title. An ID3-tagged mp3 will preserve all that information and more (You can even put lyrics into your ID3v2-tagged files) regardless of the filename.

    Filenames are not an appropriate place to store metadata because they are volatile when moving a file between media.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  3. Re:and like every Linux geek.. by bwhaley · · Score: 4, Insightful

    I'm going to say "Where the ogg version?" :)

    At the risk of wasting some karma...

    I'm sick of hearing about Ogg. Great, it's free as in beer and freedom. I'm pro freedom. But seriously, it's not going to catch on. mp3 is here to stay my friends, and while ogg may be a technically superior format, the rest of the world is not going to convert the mp3 collection to ogg's. It's just not going to happen. And if nobody converts their files to ogg's, why would manufacturers waste development time and costs putting ogg support into their products?

    Maybe I'm being cynical but I think it would take a miracle at this point.

    --
    "I either want less corruption, or more chance
    to participate in it." -- Ashleigh Brilliant
  4. Re:and like every Linux geek.. by Minna+Kirai · · Score: 5, Insightful

    And if nobody converts their files to ogg's, why would manufacturers waste development time and costs putting ogg support into their products?

    So they can have a superior format without the risk of Apple or Microsoft quadrupling the license fees 9 months down the line.

    Actually, because Microsoft is pushing their own audio format, manufacturers will have a low-cost chance to push Ogg. They're going to have to expand the devices to recognize non-mp3 files anyhow... why not throw in the free integerized Ogg code while they're at it?