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: Thu, 29 Jan 2009 12:38:55 -0800
the PlaySequence example shows you how to take the rendering results
of an AUGraph and write a file
AUOutputCapturer.h is in the PublicUtility code in the Core Audio
Examples
On Jan 29, 2009, at 8:35 AM, Howard Moon wrote:
I found the email below when searching for some info on outputting
audio to a file. However, I can't find any file called
"AUOutputCapturer.h". Is this something new on OS X 10.5? (I have
10.4.11.)
I need to record audio data to a file from my music effect (type
'aumf') while it is playing. Are there any examples available under
10.4?
Thanks,
-Howard
On Oct 31, 2008, at 2:04 PM, William Stewart wrote:
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