• 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: How to get raw audio values?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get raw audio values?


  • Subject: Re: How to get raw audio values?
  • From: David Duncan <email@hidden>
  • Date: Thu, 10 Mar 2005 12:33:29 -0500

On Mar 10, 2005, at 07:57 AM, lbland wrote:

I need to perform processing outside the Core Audio system. So, I need to read the raw audio signal bytes and work with that. Is there an example showing how to do that?

Do you mean you need to process audio being input (i.e. a microphone or line level input) or audio from an Audio Unit chain? If the former, then take a look at the SimplePlayThru sample code and the AUHAL technote


<http://developer.apple.com/samplecode/SimplePlayThru/ SimplePlayThru.html>
<http://developer.apple.com/technotes/tn2002/tn2091.html>


If you want the latter, then you can simply setup your rendering chain and call AudioUnitRender() to obtain the audio from the rendering chain.

Using either method, you'll get audio as deinterleaved floats, one buffer per channel.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.


David Duncan

_______________________________________________
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


References: 
 >How to get raw audio values? (From: lbland <email@hidden>)

  • Prev by Date: Re: How to get raw audio values?
  • Next by Date: Compile errors when installing Xcode 1.5 on a fresh system.
  • Previous by thread: Re: How to get raw audio values?
  • Next by thread: CoreMIDI device name cached?
  • Index(es):
    • Date
    • Thread