This information is stored in a tag commonly known as the ID3 tag. There is an ID3v1 tag which is simple as all get-out (alright, just an excuse to say 'all get-out') to read, and then there's an ID3v2 tag, which is much harder. Both are still fairly easy to read, however. There are several projects that you may look into, a quick Google gives boatloads of possibilities.