• 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: Calculating AU latency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calculating AU latency


  • Subject: Re: Calculating AU latency
  • From: Evan Olcott <email@hidden>
  • Date: Sun, 8 May 2005 18:17:44 -0500


On May 8, 2005, at 4:39 PM, Chris Rogers wrote:

Ev, the value returned by the latency property should be in units of seconds. To compute
number of sample-frames, you'd need to multiply this value by the sample-rate.
The AUTimePitch should be returning latencies around 70 milliseconds (0.070 seconds)
but will vary depending on the pitch, rate, and smoothness parameters, so set the desired param values
first then get the latency value.



OK, it seems like I'm getting an arbitrarily big value for the latency, it seems to always return ~1.3. It IS supposed to return a Float32, correct?


I am also (forgot to mention), if this makes a difference, changing the stream format for the input and output to a different sample rate than the machine's rate... still works and seems to sound good.

I've got the AU loaded and initialized, and I've only set the rate parameter (& new sample rate stream) by the time I ask for the latency. I noticed (via AULab) that there's a LOT of "unpublished" parameters, which I would agree are mostly tweaks and not necessary for normal use (it really does sound good, btw - excellent job). Should I be loading up the "Universal" preset or something just to make sure everything is set before I calculate?

Ev
Technical Knowledge Officer
Head Programmer/Designer
Audiofile Engineering

http://www.audiofile-engineering.com/


_______________________________________________ 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: Calculating AU latency
      • From: Chris Rogers <email@hidden>
    • Re: Calculating AU latency
      • From: Marc Poirier <email@hidden>
References: 
 >Calculating AU latency (From: Evan Olcott <email@hidden>)
 >Re: Calculating AU latency (From: Chris Rogers <email@hidden>)

  • Prev by Date: Oops - Re: Noob question: sending button clicks to AudioUnits?
  • Next by Date: Re: Calculating AU latency
  • Previous by thread: Re: Calculating AU latency
  • Next by thread: Re: Calculating AU latency
  • Index(es):
    • Date
    • Thread