Re: Recording from the microphone
Re: Recording from the microphone
- Subject: Re: Recording from the microphone
- From: john <email@hidden>
- Date: Thu, 19 Feb 2004 23:54:56 -0500
Hi Andrea,
You might be able to get a start with the /HAL/AudioThru sample, which
will show you how to "get" audio from various sources.
Also, which I would recommend, is to take a look at MTCoreAudio, an
excellent ObjC wrapper around CoreAudio, which has a similar example
application called AudioMonitor.
URL -
http://aldebaran.armory.com/~zenomt/macosx/MTCoreAudio/
As for writing to disk, you'll need to either work out your own
solution, or use various 3rd party audio file libs, or use QuickTime,
or use the CoreAudio AudioFile API. The AudioFile API doesn't have good
documentation, but apparently the CoreAudio team is going to be coming
out soon with improved sample code that might be of help to you.
-- John
Before I start, I really have been reading the documentation and it's
just confusing. I'm a linux C developer just starting out with OS X
programming.
I want to write an application that takes in sound (say from a
microphone), and then process it with a DSP algorithm. Something along
the lines of push a button, record, and then automatically or with
another button push, stop recording.
I got the CoreAudio SDK and checked out the examples. Looks like
"SampleAUs" does that - but it's a "component", not an application. I
don't understand the AudioUnits and HALs and AudioCodecs and how they
fit together. It would seem that there should be an API for this, but
I can't find it.
Thanks
Andrea
_______________________________________________
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.