[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:multimedia:digital_audio_workstation:compensating_latency [2020/08/05 17:53 (UTC)] – Added Bob Funk's article content. alienbobhowtos:multimedia:digital_audio_workstation:compensating_latency [2020/08/05 21:04 (UTC)] (current) – [An Alternative Test (and Visualizing Latency)] 0xbf
Line 1: Line 1:
-====== Slackware Live DAW ====== +====== Slackware Live DAWCompensating Latency ======
- +
- +
-====== Compensating Latency ======+
  
 ===== Overview of Latency and its Sources ===== ===== Overview of Latency and its Sources =====
Line 10: Line 7:
  
 //E.g. A Frames/Period setting of 512, and Periods/Buffer of 3:\\ //E.g. A Frames/Period setting of 512, and Periods/Buffer of 3:\\
-$512 \times 3 = 1536Frames/Buffer (i.e. Samples/Buffer)\\+512 3 = 1536 Frames/Buffer (i.e. Samples/Buffer)\\
 If the sample rate is set at 48000Hz, then the buffer fills in:\\ If the sample rate is set at 48000Hz, then the buffer fills in:\\
-$\frac{1536}{48000= 0.032seconds, or 32 milliseconds//+1536/48000 = 0.032 seconds, or 32 milliseconds//
  
 \\ \\
Line 102: Line 99:
 {{.images:Latency-Offset-No-Comp.png?453|image}} {{.images:Latency-Offset-No-Comp.png?453|image}}
  
-This works out to $\frac{511}{48000= 10.64milliseconds of latency.\\+This works out to 511/48000 = 10.64 milliseconds of latency.\\
  
  
Line 109: Line 106:
 {{.images:Latency-Offset-Comp.png?453|image}} {{.images:Latency-Offset-Comp.png?453|image}}
  
-Now the impulse should line up on the grid line, or very close. This is because the audio server has compensated for the hardware delay, allowing the timing to be precise. In my case here my "observable latency" went down to 12 samples. This works out to a delay of $\frac{12}{48000= 0.25milliseconds.+Now the impulse should line up on the grid line, or very close. This is because the audio server has compensated for the hardware delay, allowing the timing to be precise. In my case here my "observable latency" went down to 12 samples. This works out to a delay of 12/48000 = 0.25 milliseconds.
  
 ====== References ====== ====== References ======
 howtos:multimedia:digital_audio_workstation:compensating_latency ()