Difference between revisions of "Latency"

From Jeskola Buzz Wiki
Jump to: navigation, search
(Created page with 'Audio delay. This term typically refers to the delay introduced by PC and Mac soundcards becuase these use buffers at a certain size to receive and output sound data. The longer …')
 
m
Line 1: Line 1:
 
Audio delay. This term typically refers to the delay introduced by PC and Mac soundcards becuase these use buffers at a certain size to receive and output sound data. The longer these buffers are, the longer the delay before the generated audio is sent to the loudspeakers. This delay is called "latency" in audio terminology.
 
Audio delay. This term typically refers to the delay introduced by PC and Mac soundcards becuase these use buffers at a certain size to receive and output sound data. The longer these buffers are, the longer the delay before the generated audio is sent to the loudspeakers. This delay is called "latency" in audio terminology.
  
 +
== Calculating the latency ==
 
The latency can be calculated by dividing the length of the buffer in samples by the samplerate. A buffer of 256 samples at 96000 Hz samplerate would then be 256/96000 = 0.00267 seconds or 2.67 ms.
 
The latency can be calculated by dividing the length of the buffer in samples by the samplerate. A buffer of 256 samples at 96000 Hz samplerate would then be 256/96000 = 0.00267 seconds or 2.67 ms.

Revision as of 18:22, 27 July 2009

Audio delay. This term typically refers to the delay introduced by PC and Mac soundcards becuase these use buffers at a certain size to receive and output sound data. The longer these buffers are, the longer the delay before the generated audio is sent to the loudspeakers. This delay is called "latency" in audio terminology.

Calculating the latency

The latency can be calculated by dividing the length of the buffer in samples by the samplerate. A buffer of 256 samples at 96000 Hz samplerate would then be 256/96000 = 0.00267 seconds or 2.67 ms.