Re: Audio bits from CD
Re: Audio bits from CD
- Subject: Re: Audio bits from CD
- From: Stephen F.Booth <email@hidden>
- Date: Thu, 13 Sep 2007 22:33:47 -0700
I was able to verify an audio CD, what I want to do now is
calculate the
RMS value of the whole CD
(http://en.wikipedia.org/wiki/Root_mean_square), I'd like to know
how I
can just extract only the audio samples from a CD, which will be from
different .aiff files. Does anyone maybe have some more info on how to
do this?
As far as I know there isn't a lot Core Audio can do in this area
(digital audio extraction).
The best way to do this is to use the DKIOCD* ioctls for low-level
reading from the disc, assuming you know the device name. I have
written several open-source cocoa classes which abstract out the code
required to do this. See the online svn repository at http://
macaudiox.svn.sourceforge.net/viewvc/macaudiox/trunk/Drive/ and in
particular the Drive class. If you don't know the device name, you
can use DiskArbitration to discover it and also register for disc
insert events, etc.
Are you trying to calculate the ReplayGain value for the entire disc?
Stephen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden