• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CD-DA analysis
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CD-DA analysis


  • Subject: Re: CD-DA analysis
  • From: David Duncan <email@hidden>
  • Date: Wed, 12 Sep 2007 09:57:49 -0700

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
email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >CD-DA analysis (From: Robin Reumers <email@hidden>)

  • Prev by Date: Re: Cocoa won't draw CMYK jpeg
  • Next by Date: Twitter NSURLConnection Authentication
  • Previous by thread: CD-DA analysis
  • Next by thread: Twitter NSURLConnection Authentication
  • Index(es):
    • Date
    • Thread