• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Recording from the microphone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Recording from the microphone (From: Andrea Okerholm <email@hidden>)

  • Prev by Date: AudioUnit Effect: undefined symbols
  • Next by Date: Misc AU hosting questions
  • Previous by thread: Recording from the microphone
  • Next by thread: AudioUnit Effect: undefined symbols
  • Index(es):
    • Date
    • Thread