• 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
Question about latency on the line-in port
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about latency on the line-in port


  • Subject: Question about latency on the line-in port
  • From: Rob Ross <email@hidden>
  • Date: Tue, 9 Jun 2009 02:43:25 -0700


I have never written any CoreAudio apps because frankly, the documentation scares me :)



I have a general high-level question. Say you want to write a GarageBand type application, where you want to play an instrument like a guitar, and plug it into the line-in jack of the Mac, and read the data samples as you play, and write them immediately to the line-out port; i.e., I want to hear myself play in real time (or as close to real time as possible.)


Is this achievable using CoreAudio? What is the minimum latency in reading a number of samples from the line-in port? Can I achieve sub- millisecond latency, say if my buffer is 1024 or 512 bytes, at a sample rate of 44000 - 48000?

Thanks!

Rob


_______________________________________________ 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: Question about latency on the line-in port
      • From: Brian Willoughby <email@hidden>
  • Prev by Date: Re: Processing question
  • Next by Date: RE: Synchronizing Multiple AUGraph's
  • Previous by thread: RE: Synchronizing Multiple AUGraph's
  • Next by thread: Re: Question about latency on the line-in port
  • Index(es):
    • Date
    • Thread