Re: Newbie Documentation for CoreAudio!
Re: Newbie Documentation for CoreAudio!
- Subject: Re: Newbie Documentation for CoreAudio!
- From: email@hidden
- Date: Tue, 26 Nov 2002 16:22:55 +0000
Hi Jont,
I think the best way to learn programming for a new API is by looking
at sample code (along with some reference). You probably don't need to
know anything about kernel programming to write a CoreAudio application
(as a side note, it seems much more intimidating than it is). A popular
sample for CoreAudio and generating tones is this:
http://www.audiosynth.com/sinewavedemo.html
There are other good samples in the CoreAudio SDK in the Apple
Developer Connection members website thingie. The application samples
have their own small C++ application framework, which to me seems to
add a small but pointless additional complexity to understanding the
code (considering Cocoa already exists and is feature rich). But you
can definitely learn from them in any case.
There are AudioUnits samples and many people on the list kindly provide
their own AU code for perusal. Urs Heckmann seems to to be the one
people turn to for assistance with their AU :) At this point, Carbon is
what is used for AU development.
Hope this helps.
-- John
Hi everybody!
I've been programming PortAudio for some time now and I'm slowly
starting to get the pieces right. I'm attending classes in C++ and
audio programming but these are held on Windows machines. My goal has
all along been to learn CoreAudio and to write AudioUnits. However, my
knowledge isn't that deep yet and I find most of the Apple
documentation quite intimidating. I've downloaded almost every pdf on
audio programming I could find from Apples ADC-site, but most of them
stated that I have to know Kernel programming or very sophisticated
hardware programming. I gave up almost immediately, even though I'm
still eager to learn these API's.
Is it that hard? Do I have to know kernel programming to write a
simple tone generator with CoreAudio? Hopefully (and probably) I'm
wrong, but I do need a punch in the right direction here. Which pdf
should I start with? What prior knowledge is required? I consider
myself a decent C, C++ and Obj-C programmer, but this is the first
time I've used an API for the Mac (except the Cocoa frameworks of
course).
Please help me getting started. Off course I could keep on using
PortAudio, it's working great for me, but as a qualified Mac geek I
would like to unleash the power of Mac OS X Audio...
Best regards
/Jont Olof
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.