Re: In need of documentation
Re: In need of documentation
- Subject: Re: In need of documentation
- From: Lieven Dekeyser <email@hidden>
- Date: Thu, 17 Jan 2002 01:06:16 +0100 (CET)
>
Hi,
>
>
I'd like to write an audio application that would just play in real-rime
>
what's coming through an input port. For exemple, I have a G4 with a
>
standard input and I would like to be able to plug-in an instrument
>
(guitar, mic...), start that application and "voila" my computer is my
>
amplifier (sound is processed by computer). I know this already exists
>
(TCWorks' SPARKme) but I would just like to get some experience with the
>
audio system of OSX.
I've put some sample code how to do this on my website:
http://studwww.rug.ac.be/~lbdkeyse/source/CoreAudio/
>
I went through apple's web site and, yes, there is are some pdfs
>
(coreaudio.pdf) explaining how CoreAudio is built but I can't find any
>
that actually explains how to code with it.
the documentation is horrible indeed (to the person(s) that actually wrote
it : no offence :) )
Maybe the most useful information is in the headers...
Other than that, I suggest you take a look at some sample code.
If you still have questions, the people on this list are very very
very helpful (thanks again for all the answers!)... I just hope I didn't
bother them too much with all my questions ;)
>
Also I don't understand where is Objective-C is required. I did a Cocoa
>
Project in Project-Builder with OpenGL and C++, no need for Objective-C.
>
Please tell me I don't need Obj-C to write audio utilities 8)
/msg Rolley "you don't need Obj-C to write audio utilities" :-)
but Obj-C is a great language, and together with Cocoa, Project Builder
and Interface Builder, it's (in my humble opinion) one of the best ways to
create flexible & maintainable applications.
But as I said, you don't need Obj-C... you can use C, C++, Obj-C and
even Java
The sample code on my website is (as you might have guessed) in Obj-C, but
you can just copy the parts you need to your C/C++ project...
yo!
--Lieven