URGENT : Read CDA Track Headers with vb.net

Hello Experts,
                     I want to read CDA Track Headers like Title, Artist, Album, SongYear.Please tell me how i can get this Info.
I know about CDDB, FreeDB.I have used Code Project Ripper Library which is telling just Length of track.

Regards,
Muhammad Adil
LVL 6
MuhammadAdilAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wnrossCommented:
What language did you want to use?
nayernaguibCommented:
As far as I know, CD Audio tracks do *not* hold such information.

The software systems you mentioned above use database lookup over the internet to retrieve such information based on some unique CD identifier.

_______________

  Nayer Naguib
MuhammadAdilAuthor Commented:
I wanna use vb.net.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

MuhammadAdilAuthor Commented:
Hello Mr Nayer ,
                       I have got some little information about RIFF files on Audio CD.Which have this information.And some artical says this information is stored in start bits of tracks.But i dont know how to access these start bits.And how to read RIFF File  from Audio CD.
When we play any Audio CD with Windows Media Player.It provides this information(Title,Artist,Album,Track,SongYear).

From Where media Player get this Information.

Thx for Reply me .

Muhammad Adil

wnrossCommented:
Windows Media player pulls its information from the internet (www.windowsmedia.com)

Now how it figures out what you are listening to is tricky, since CD's do NOT have any useful serial numbers associated
with them (Exception: Some CD's esp by Sony use CD-Text subchannel data, your on your own there...)

Most players use the CDDB service by Calculating the TOC length, number of tracks, length per track, and
fudging that together to get a unique ID number (the DiscID), they can then access the net to pull
information from the service

I don't know if this helps or not.  Oh, here's an excellent article using VB to calculate the DiscID and pull
track info from freedb.org

http://www.vbaccelerator.com/home/vb/code/vbmedia/Audio/CD_Tracklistings/article.asp

The key elements are

1) Get the CD TOC using ASPI calls
http://www.hochfeiler.it/alvise/aspi_VB.htm provides a wrapper dll which you might not need in VB.Net since the calling convention is now changed.
2) Calculate the DiscID
Steve's snippet shows how this is done. for FreeDB
3) Make a request to freedb.org for the track information

Cheers
-Bill

PS: These folks have a nice intro to CD-Text
http://www.feurio.com/English/faq/faq_vocable_cdtext.shtml

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MuhammadAdilAuthor Commented:
Thx Wnross,
                  Best of Luck
bubye.
nayernaguibCommented:
?!!

_______________

  Nayer Naguib
wnrossCommented:
Your welcome,

Cheers,
-Bill
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Multimedia Programming

From novice to tech pro — start learning today.