[linux-audio-dev] Calculating Latency

Paul Davis paul at linuxaudiosystems.com
Thu Sep 11 12:39:01 UTC 2003


>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?

output latency = period size * nperiods
input latency  = period size
through latency = output latency
jitter = period size

if period size = 256, nperiods = 2 and SR = 44100, then the output
latency is 256/44100 * 2 = about 11 milliseconds.

--p



More information about the Linux-audio-dev mailing list