Re: [linux-audio-dev] Calculating Latency

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Calculating Latency
From: jesse_AT_essej.net
Date: Thu Sep 11 2003 - 19:54:15 EEST


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


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Sep 11 2003 - 20:16:11 EEST