Re: How to get raw audio values?
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