Re: Real World Significant Sources of (what we usually call) Latency



On Mon, 30 Nov 2009 14:14:20 -0500, Mike Rivers <mrivers@xxxxxxxxxxx>
wrote:

If you don't change the buffer setting, IT WILL STILL BE 10 MS!

That's what I suspected - the buffer size is the big elephant in the
room. I'm
sure that the actual latency is the buffer size expressed in time at the
given
sample rate plus whatever other delays there are besides buffering. But
you're suggesting that these "other" delays are insignificant in terms of
input-to-output time.

Isn't an elephant something everyone knows, but no-one admits?

Leaving that term aside - surely it's basic knowledge there's a user
setting for buffer size, and it defines the latency figure? What gets
overlooked is that effective latency isn't this buffer divided by
sample rate. You have to add the fixed figure from the "other"
delays. (This is the couple of ms in "direct monitoring" that Mike
definitely doesn't find insignificant in practice.) The buffering that
causes it is hard-wired into the soundcard architecture and its
drivers.

It's not inconceivable that a user could hack some of these settings.
Rather as we now have to tell Windows System Restore: "Yes, 15% of
the drive was a reasonable amount to use of a 60GB drive, but I think
we can specify rather less of a 1TB disk!", perhaps, on a really fast
computer, the fixed latency could be pared down a little. Or maybe
it's more about the soundcard hardware and should be left well alone.

Anyone else remember struggling to get Cubase Audio running on an
Atari Falcon? The driver that made this possible was unstable with
its default settings. Finding the undocumented setting that cured it
wasn't exactly hacking, but it felt like it in those days!
.



Relevant Pages

  • Re: Latency in PC recording (AKA Lag)
    ... The minimum latency the ear can detect is 11ms, so providing the 'audio ... buffer before it is processed by the driver and then passed to the audio ... A handy feature which audio interfaces offer is direct monitoring. ...
    (alt.guitar.beginner)
  • Re: Question about playback alacrity...
    ... to use CAxWindow in order to host the WMP ... there are 2 major sources of latency: ... buffer and the receiving buffer. ... The WMV encoder also keeps a large frame buffer which size ...
    (microsoft.public.windowsmedia.sdk)
  • Re: Question about playback alacrity...
    ... the keyframes, the larger the encoding lookahead buffer, the ... small (1-2 frames). ... source of latency, in the second paragraph to tell me ... that automatic graph building may take a long time. ...
    (microsoft.public.windowsmedia.sdk)
  • Re: Once again about the latency
    ... DirectSound latency and small buffers. ... even with notifications. ... This makes playback latency equal to output buffer size. ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: Latency in PC recording (AKA Lag)
    ... I'm no expert in the guitar side of things to do with latency ... Playing to a backing track and recording onto PC ... The minimum latency the ear can detect is 11ms, so providing the 'audio ... buffer before it is processed by the driver and then passed to the audio ...
    (alt.guitar.beginner)