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

how do I read CDDA audio files from an audio CD?

how do I read CDDA audio files from an audio CD?
I'm interested in the original data from the audio track, not what comes out after a DAC->CAD conversion.
0
postrowski
Asked:
postrowski
  • 2
1 Solution
 
chensuCommented:
Are you writing a 16-bit program or a Win32 program? If it is 16-bit, I can give you the source code.
0
 
postrowskiAuthor Commented:
I wanted to write this as a 32-bit app, however, I think your 16-bit source would be helpful.
0
 
chensuCommented:
http://www.tardis.ed.ac.uk/~psyche/cdda/CDDAsoftware_f.shtml

Unfortunately, there is no source code included for Win32 software. 16-bit method cannot be used in Win32.
0
 
aa571Commented:
The READCDA2 program on the tardis site is a good example
of the general idea of reading DA, doing the jitter correction
and writing to disk.  It doesn't offer a useful way to get at the
drive under Win32.  The way that most people do it is to use
the ASPI drivers to talk directly to the drive to read the
sectors. I don't think there is any freely available win32 source
to do this anywhere on the net.

You can get a copy of the ASPI for Win32 spec from the Adaptec web site.  Once you have the spec and can create SRBs and CDBs all you need to do is to get yourself copies of the SCSI programming manuals for all the drives out there.  You will need to get them directly from the manufacturer.  If you are lucky and only need to program for ATAPI drives then you can likely use the MMC spec which you can get from
ftp.symbios.com/pub/standards/Io/T10/drafts/mmc2

If you don't want to go to the effort of this, there are a few companies that offer either DLLs or OCXs that you can buy and use with your own applications.


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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