• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 556
  • Last Modified:

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
0
MuhammadAdil
Asked:
MuhammadAdil
  • 3
  • 3
  • 2
1 Solution
 
wnrossCommented:
What language did you want to use?
0
 
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
0
 
MuhammadAdilAuthor Commented:
I wanna use vb.net.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

0
 
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
0
 
MuhammadAdilAuthor Commented:
Thx Wnross,
                  Best of Luck
bubye.
0
 
nayernaguibCommented:
?!!

_______________

  Nayer Naguib
0
 
wnrossCommented:
Your welcome,

Cheers,
-Bill
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now