CD-DA analysis

  • Hi,

    I'm new to the list and I read the descriptions of all the lists and I
    thought this one would be the most appropriate. I'm currently trying to
    write an app in Cocoa that calculates the RMS value of a whole CD. Now
    is my question: what would be the way to extract the audio information
    from the CD-DA (skipping the subcode, …) so that I can just calculate
    the average value of the audio samples. Is there a way to see if there
    is a true audio CD inserted when the app is run, so that data CD's will
    be ignored? Any help or suggestions are welcome, maybe some of you have
    some valuable links to read through?

    Kind regards,

    Robin

    --
    BE : +32473633594
    NL : +31645015936
    US : 001 407 310-3697
    E : <info...>
    I : www.robinreumers.com
  • On Sep 12, 2007, at 12:01 AM, Robin Reumers wrote:

    > I'm new to the list and I read the descriptions of all the lists
    > and I thought this one would be the most appropriate. I'm currently
    > trying to write an app in Cocoa that calculates the RMS value of a
    > whole CD. Now is my question: what would be the way to extract the
    > audio information from the CD-DA (skipping the subcode, …) so that
    > I can just calculate the average value of the audio samples. Is
    > there a way to see if there is a true audio CD inserted when the
    > app is run, so that data CD's will be ignored? Any help or
    > suggestions are welcome, maybe some of you have some valuable links
    > to read through?

    You can use the techniques from the AudioCDSample sample code <http://
    developer.apple.com/samplecode/AudioCDSample/> to discover if you
    have an Audio CD. The audio on the CD is represented as AIFF files,
    so you can use Quicktime or Core Audio to extract the audio from the
    files, and standard file system techniques to get a list of the files
    on the CD.
    --
    David Duncan
    Apple DTS Quartz and Printing
    <david.duncan...>
previous month september 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today