X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flatency-and-latency-compensation.html;h=59cb28415cb0bb651cf75260922539c3fea1c981;hb=a2d052e6748aba41aa01a8c7e87480d8bd61364c;hp=e323059956ef2b04e0f51f33086bcae1449e058c;hpb=3c0bdbab01a9900147a5f794026960040f0f9e0c;p=ardour-manual diff --git a/include/latency-and-latency-compensation.html b/include/latency-and-latency-compensation.html index e323059..59cb284 100644 --- a/include/latency-and-latency-compensation.html +++ b/include/latency-and-latency-compensation.html @@ -45,6 +45,11 @@

The Latency chain

+ +

+ Note! the rest of this document assumes the use of jackd for the audio + backend. While many of the concepts are true, the specifics may be different. +

Latency chain
@@ -60,13 +65,14 @@

Processing latency is usually divided into capture latency (the time it takes for the digitized audio to be available for digital processing, usually - one audio period), and playback latency (the time it takes for + one audio period), and playback latency (the time it takes for the + audio that has been processed to be available in digital form). In practice, the combination of both matters. It is called round-trip latency: the time necessary for a certain audio event to be captured, processed and played back.

- It is important to note that processing latency in a jackd is a matter of + It is important to note that processing latency in Ardour is a matter of choice. It can be lowered within the limits imposed by the hardware (audio device, CPU and bus speed) and audio driver. Lower latencies increase the load on the system because it needs to process the audio in smaller chunks @@ -156,7 +162,7 @@ The second approach is prone to various implementation issues regarding timecode and transport synchronization. Ardour uses read-ahead to compensate for latency. The time displayed in the Ardour clock corresponds - to the audio signal that is heared on the speakers (and is not where Ardour + to the audio signal that is heard on the speakers (and is not where Ardour reads files from disk).

@@ -255,3 +261,10 @@

  • Make the appropriate connections between the jack ports so the loop is closed.
  • Adjust the playback and capture levels in the mixer.
  • +

    + On Linux, the latency of USB audio interfaces is not constant. It may + change when the interface is reconnected, on reboot and even when xruns + occur. This is due the buffer handling in the Linux USB stack. As a + workaround, it is possible to recalibrate the latency at the start of each + session and each time an xrun occurs. +