Re: [LAU] Estimating JACK latency

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Tue Apr 17 2012 - 20:09:52 EEST

On Mon, Apr 16, 2012 at 05:21:47PM -0400, S. Massy wrote:

> Okay, so for a standard 2 periods of 128 frames each, my nominal dddelay
> is 256 frames or 5.3ms at a sr of 48k, twice that for a round-trip.

No. The nominal roundtrip-delay (physical input to physical output
if you connect the corresponding ports directly) is period * nperiods.

1 * period occurs at the input, (nperiods - 1) * period at the output.

If you masure it using jack_delay you will in most cases find a value
that is a bit higher, this is due to delay in AD/DA converters etc. For
some types of soundcard (e.g. USB) the real latency can be significantly
higher than the nominal value. You can tell Jack about this using the
-I and -O options.

The extra delay when making a loop such as Ardour -> jconvolver -> Ardour
is one period.

Ciao,

-- 
FA
A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Apr 17 20:15:03 2012

This archive was generated by hypermail 2.1.8 : Tue Apr 17 2012 - 20:15:03 EEST