AudioUnit writing to file (was: writing audio from a AUGraph to disk)
AudioUnit writing to file (was: writing audio from a AUGraph to disk)
- Subject: AudioUnit writing to file (was: writing audio from a AUGraph to disk)
- From: Howard Moon <email@hidden>
- Date: Thu, 29 Jan 2009 14:06:51 -0800
There's no file on my system (even my 10.5 disk) named
AUOutputCapturer.h (or any other extension). The closest is
AUOutputBL (.h and .cpp), in that PublicUtility folder. PlaySequence
uses that. It's not an AudioUnit, though, which my project is.
What I need is info on how to stream the audio data into (and later
back out of) an audio file, during playback in an AudoUnit.
I'm having a lot of trouble finding the info I need on ADC; most
searches have a lot of iPhone stuff. (Is it still being re-indexed?)
THanks,
-Howard
On Jan 29, 2009, at 12:38 PM, William Stewart wrote:
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:
40apple.com
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