• 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: Audio bits from CD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Recorded mic input plays too fast
  • Next by Date: Re: Audio bits from CD
  • Previous by thread: Re: Audio bits from CD
  • Next by thread: Logic 8 and multichannel plugs
  • Index(es):
    • Date
    • Thread