• 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
real time voice capture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

real time voice capture


  • Subject: real time voice capture
  • From: "Tim Dorcey" <email@hidden>
  • Date: Wed, 4 Jun 2003 12:33:04 -0700

Can anyone point me to documentation or sample code for recording a
contiguous sequence of 50 msec audio samples in OSX? The documentation
search at developer.apple.com has me quite stumped. I can find the Core
Audio architecture diagram, and a lot of stuff for writing device drivers,
but am somehow not finding the root of the Core Audio documentation.

I have a Carbon application which uses SPBRecord to do what I need, but am
getting very mysterious results on some OSX systems. OSX systems seem to
ignore our SPBSetDeviceInfo request for mono recording, so I have been
averaging the 2 stereo channels, if that's what the device returns. This
works fine on some systems, but I get a "Darth Vader" voice effect on
others. Picking one or the other of the channels did not seem to help.
Other odd thing, is I use the SGSettingsDialogue to let users configure the
audio input device, and some have discovered that switching the
(playthrough) Speaker setting Off and On a few times fixes the problem, but
this does not work for all.

I was thinking maybe simplest thing is to re-write the capture code to use
OSX Core Audio, but can't even get off square 0 to find the documentation.
Am I right to guess that this will be relatively easy to drop into a mach-o
build that is otherwise Carbon compliant? Or had I better keep pressing to
find why the Carbon capture does not work?

Thanks for any help,

Tim
_______________________________________________
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.

  • Follow-Ups:
    • Re: real time voice capture
      • From: Bill Stewart <email@hidden>
  • Prev by Date: Re: Convert to float and more
  • Next by Date: Re: Convert to float and more
  • Previous by thread: Re: V1 & V2 API
  • Next by thread: Re: real time voice capture
  • Index(es):
    • Date
    • Thread