• 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
AudioFile -> AudioConverter -> float PCM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioFile -> AudioConverter -> float PCM


  • Subject: AudioFile -> AudioConverter -> float PCM
  • From: Marc Poirier <email@hidden>
  • Date: Mon, 1 Aug 2005 14:10:09 -0400 (EDT)

I am trying to do the following: I want to use AudioFile to get the contents of an audio file, then use AudioConverter to put it all into arrays of PCM 32-bit float audio data (1 array per audio channel). But, after several hours of looking through example snippets, headers, and docs, I'm still pretty lost. I'm just having a lot of trouble figuring out the interactions of AudioBufferLists and AudioConverters, what are packets vs. frames (possibly in relation to channels vs. samples), etc.

Anyway, I'm sure that I'm not the only one who has wanted to do this task, so I was wondering if anyone might have some example code for this that they'd like to share? I'm just having a lot of difficulty understanding this stuff...

thanks,
Marc
_______________________________________________
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


  • Follow-Ups:
    • Re: AudioFile -> AudioConverter -> float PCM
      • From: Art Gillespie <email@hidden>
    • Re: AudioFile -> AudioConverter -> float PCM
      • From: Heath Raftery <email@hidden>
  • Prev by Date: Re: Component Manager does not seem to load any AudioUnit I compile
  • Next by Date: Re: SPDIF audio in DVD Player
  • Previous by thread: Re: Component Manager does not seem to load any AudioUnit I compile
  • Next by thread: Re: AudioFile -> AudioConverter -> float PCM
  • Index(es):
    • Date
    • Thread