Subject: Re: [linux-audio-dev] Calculating Latency
From: Paul Winkler (pw_lists_AT_slinkp.com)
Date: Thu Sep 11 2003 - 19:12:24 EEST
On Thu, Sep 11, 2003 at 08:46:54AM -0700, Greg Reddin wrote:
> What is the formula for calculating latency in Jack? For example, I
> start jackd with a period size of 256 and 2 periods, a sample rate of
> 44100. Using a mic input and FreqTweak, that's pretty close to
> inaudible latency to my ears. How do I calculate the actual ms value
> of that?
>
> I apologize if information is readily available. I couldn't find it.
I believe it's sr / n * p, or for your example,
44100.0 / 256 * 2 = 0.0116 seconds.
--Paul Winkler http://www.slinkp.com Look! Up in the sky! It's PSYCHO THIEF OCEAN! (random hero from isometric.spaceninja.com)
This archive was generated by hypermail 2b28 : Thu Sep 11 2003 - 19:36:21 EEST