Showing posts with label MP3tag. Show all posts
Showing posts with label MP3tag. Show all posts

Monday, October 12, 2009

Linux MP3 tag editors- a review

The story so far. In the beginning, the universe was created...
OK, skip that bit. I have a collection of MP3 files, and the tags attached to some of the files are causing errors in the way albums are displayed in some music players. I want to view and edit MP3 tags. My last post on the subject ended with some confusion as to which tag editors can do what, so here is a quick review.


Kid3 is the clear winner in KDE. (It's perfectly usable in Gnome- but the KDE dependencies make it a little slow to load, and it uses the KDE theme.) The Gnome alternative, Audio Tag Tool, produces errors when reading ID3v2 Version 2.3 tags, and cannot read ID3v2 Version 2.4 tags- the default used by such applications as Sound Juicer.
Applications using the Mutagen backend are a very usable alternative in Gnome, only lacking the ability to see which ID3 standard is being used, and if an ID3v2 tag exists, to see which version, and to switch view between tag standards if both exist.
UPDATE: A comment points out that there is a version of Kid3 for Gnome (kid3-qt) which doesn't have the KDE dependencies- a tip of the hat there.

Thursday, October 8, 2009

Music file tags

Rip a CD and the ripping program will often go online and look up the album, artist and track information, and append this information to the audio file as a tag. Sound Juicer does this in Ubuntu. But how does it work, and is it possible to automatically tag audio files that have been ripped without tagging? This issue caused me some confusion recently.
I used Audiograbber to rip some CD's into MP3 on a Windows computer. The program didn't prompt me to add the tag information, so I assumed it didn't have this facility (looking at the website now, I see it does). The result was several folders of MP3 files with no meaningful file names or tag information.
I decided to look for a way to automatically tag and name the files. I found EasyTAG. The program gave me an option to search the something called the CDDB database to look up the CD details. For several of my folders of MP3's, this worked. For one folder, the program found the CD in the database, but one track didn't match up. In frustration, I tried MP3Tag in Windows. Using the same CDDB database (freedb.org) and entry, the program correctly tagged the folder. (Ho hum.)
But I was left in some confusion. Apart from not seeing that I could have used Audiograbber to look up the files when I ripped them, I hadn't really understood what how EasyTAG and MP3Tag found the metadata for my files, as this post to the Ubuntu Forum proves.
So how does CDDB work? Wikipedia has a good explanation. The CDDB database uses a "discid" created from track duration information stored in the table-of-contents of the CD.
So how had EasyTAG recognised my already-ripped MP3 files without a table-of-contents? I'd assumed it must have used an "audio fingerprint", but I was obviously wrong. I can only guess that EasyTAG and MP3Tag use track length information to create a discid.
So is there a way to identify audio files using an "acoustic fingerprint"? Yes, MusicBrainz Picard can do it in Linux. (Winamp in Windows uses Gracenote.)