• 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
Getting raw audio data from an AIFF file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting raw audio data from an AIFF file


  • Subject: Getting raw audio data from an AIFF file
  • From: "Andrew GFunk" <email@hidden>
  • Date: Sat, 08 Feb 2003 16:42:56 -0800

Hi! I'm a newbie to audio app development. Under OS X, is there an easy way to get at the raw audio data (PCM) of an AIFF (or similar type) file? All I need besides the raw audio data is the sample-rate, resolution, and number of channels of the sound... all the other headers that might be included in the file can be ditched. Is there some kind of simple service I can use to store the PCM portion of the file as an NSData object?

I plan on doing some DSP stuff on the raw audio data, then saving the result as a new file with the same sample rate, resolution and # of channels as the original (44.1KHz, 16-bit, stereo in most cases).

I'm writing the app in Objective-C.

Also, how would you go about spliting up the stereo data of an AIFF file into 2 seperate NSData objects (left and right)? Then how would you recombine the 2 (after doing some DSP on each) to form a stereo AIFF file again?

Any help at all would be awesome :)

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Getting raw audio data from an AIFF file
      • From: Brian Willoughby <email@hidden>
    • Re: Getting raw audio data from an AIFF file
      • From: David Duncan <email@hidden>
    • Re: Getting raw audio data from an AIFF file
      • From: Kurt Revis <email@hidden>
  • Prev by Date: Re: Edirol UA-1D and MTCoreAudio?
  • Next by Date: Re: Getting raw audio data from an AIFF file
  • Previous by thread: Edirol UA-1D and MTCoreAudio?
  • Next by thread: Re: Getting raw audio data from an AIFF file
  • Index(es):
    • Date
    • Thread