Re: writing audio from a AUGraph to disk
Re: writing audio from a AUGraph to disk
- Subject: Re: writing audio from a AUGraph to disk
- From: William Stewart <email@hidden>
- Date: Fri, 31 Oct 2008 14:04:20 -0700
Have a look at AUOutputCapturer.h in Examples/CoreAudio/PublicUtility
it enables you to use ExtAudio File and write a file by attaching to
the output (render notification - NOT render callback, that is for
input) of any given audio unit. You also have to make sure that you
just grab the data for:
(1) the appropriate bus if it has more than one
(2) the post-render notify
Bill
On Oct 31, 2008, at 1:53 AM, Keith Hamel wrote:
List:
I want to write the output from a relatively complex AUGraph
(including DLSSynths, effects, mixer, output, etc.) to an audio file
while it is playing.
I have not been able to figure out how to stream the audio being
generated by the AUGraph to an ExtAudioFile. The Core Audio
examples that write audio files either use the Default input device
(i.e. mic ) or they stream data from existing audio files. When I
try to duplicate this process with one of the Audio Units in my
AUgraph (i.e. trying to set up a render callback on the outputUnit
or on one of the other audiounits) I am not able to get the data
through the callback function and out to the audio file.
Am I going about this the right way, and if not, can someone point
me in the right direction or point me to a code snippet that might
help...
Thanks, Keith Hamel
_______________________________________________
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
_______________________________________________
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