• 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: sample rate conversion on input
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sample rate conversion on input


  • Subject: Re: sample rate conversion on input
  • From: William Stewart <email@hidden>
  • Date: Mon, 12 May 2008 14:16:58 -0700

Have a look at the aqrecord example (this will only work on Leopard or later though)... /Developer/Examples/CoreAudio/

On May 12, 2008, at 11:07 AM, Nigel Redmon wrote:

I've done a bit of core audio programming, but it's been a while... I'm working on a project I inherited; it originally used PortAudio, but I had too many problems with it and switched to RtAudio. The only problem there is that while PortAudio does sample rate conversion on input and output, RtAudio only does it on output (IIRC core audio does output conversion automatically, but input conversion requires the programmer to attach an converter to input channels). The application needs to run at 44.1 KHz, preferably without making the user set his hardware to that rate, hence the need for conversion.

The application is fairly simple, in that when input is required, only one input channel is used, and one audio audio output channel at a time (that is, the input channel is for a calibrated mic, and one output at a time is used for chirps and sweeps--it's a room analyzer).

So, I was hoping someone could point me in the direction of where to look for adding a sample rate converter to a core audio input channel.

Thanks,

Nigel

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: sample rate conversion on input
      • From: Nigel Redmon <email@hidden>
References: 
 >sample rate conversion on input (From: Nigel Redmon <email@hidden>)

  • Prev by Date: Anyone have any idea what causes this ?
  • Next by Date: Re: Anyone have any idea what causes this ?
  • Previous by thread: sample rate conversion on input
  • Next by thread: Re: sample rate conversion on input
  • Index(es):
    • Date
    • Thread