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.
Freqtweak will also be adding to the latency depending on the FFT
size (and overlap) you choose. Switch to a large FFT and you'll
definitely start hearing it. You can bypass one channel and hear
the effect in comparison with the unbypassed channel.
jlc