Re: CD-DA analysis
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