本文へスキップ

レッスン 9 · The Studio and the DAW

Latency and Buffer Size

Understand audio latency, calculate buffer delay, balance buffer size against crackles, use direct monitoring and handle plugin delay while you record.

You sing into the microphone and hear yourself a moment late in your headphones. Or you press a key and the synth responds slowly. This delay is latency. A little is unavoidable. Too much makes it hard to play in time.

You can control latency once you know where it comes from.

What you will learn

  • Where delay comes from in a computer audio system
  • How to calculate the delay from one audio buffer
  • How to choose buffer settings for recording and mixing
  • What direct monitoring and plugin delay compensation do

Where latency comes from

When you monitor through the computer, a signal travels:

flowchart LR
  A["Input and A/D"] --> B["Input buffer"]
  B --> C["DAW and plugins"]
  C --> D["Output buffer"]
  D --> E["D/A and output"]

Each stage of software monitoring can add delay.

The total from input to output is the round-trip latency. It includes converters, buffers, driver and connection overhead, and any delay added by plugins.

What a buffer is

The computer processes audio in small blocks rather than one sample at a time. Each block waits in a buffer. The buffer size is measured in samples.

delay of one buffer (ms) = buffer size ÷ sample rate × 1,000

Buffer size At 44.1 kHz At 48 kHz
64 samples about 1.5 ms about 1.3 ms
128 samples about 2.9 ms about 2.7 ms
256 samples about 5.8 ms about 5.3 ms
512 samples about 11.6 ms about 10.7 ms
1,024 samples about 23.2 ms about 21.3 ms

The real round trip is longer than one row of this table, because input and output each use buffering and other stages add delay. Your DAW or interface may report latency values. Reported values are not always complete.

At the same buffer size, a higher sample rate gives a shorter buffer time. It also asks the computer to process more samples each second.

The trade-off

  • Small buffer: less delay, but the computer must deliver blocks more often. If it cannot keep up, you may hear clicks, pops or dropouts.
  • Large buffer: more delay, but more time for the computer to work, so heavy projects run more reliably.

A common workflow:

  1. While recording or playing instruments: use a small buffer that stays stable, such as 64 to 256 samples.
  2. While mixing: use a larger buffer, such as 512 or 1,024 samples.

These are starting points. Your computer, interface and project decide what works.

Drivers and system audio

A driver lets the operating system and DAW talk to your interface. On Windows, many interfaces offer an ASIO driver, which is often a good choice for low latency. macOS uses Core Audio. Linux systems have their own audio layers. Use the driver the maker recommends for your setup.

Wireless headphones usually add noticeable delay. Use wired headphones when you record or play in real time.

Direct monitoring

Direct monitoring sends the input straight to your headphones inside the interface, before it goes through the computer. The delay is very small.

To use it well:

  • Turn on direct monitoring on the interface or its control software.
  • Mute or disable software monitoring of that input in the DAW. Otherwise, you hear two copies, one slightly late. This can sound doubled or hollow.
  • Remember that DAW plugins will usually not affect the direct signal. Some interfaces provide their own built-in effects.

Plugin latency

Some plugins need extra time, for example certain linear-phase EQs, lookahead limiters or noise tools. Most modern DAWs use plugin delay compensation to keep tracks lined up during playback.

Compensation keeps tracks in time with each other. It cannot remove the delay you feel when you play live through a slow plugin. While recording, bypass heavy plugins on the monitored path and the main output, or use a "low latency" monitoring option if your DAW has one.

Recorded timing

The DAW usually moves recorded audio to correct for the system's reported delay. If the report is incomplete, new takes may land slightly early or late. Some DAWs offer a manual recording offset. A loopback test can measure it: you send a click out of an output into an input, using appropriate line-level connections, and compare positions. Keep monitoring low to avoid feedback, and follow your DAW's instructions.

When you hear crackles

Try these steps, one at a time:

  1. Raise the buffer size.
  2. Freeze or bounce heavy tracks.
  3. Close other demanding programs.
  4. Disable power-saving settings that slow the processor, if appropriate for your device.
  5. Check that the sample rates and clock settings match.
  6. Try a different cable or port, and check for driver updates from the maker.

Common mistakes

  • Assuming the buffer setting is the whole round-trip latency.
  • Hearing both direct and software monitoring at once.
  • Recording with a lookahead limiter on the main output, then struggling with timing.
  • Keeping a tiny buffer during a heavy mix and blaming the crackles on bad audio files.

Try it

Calculate the time for one buffer and for two buffers. The two-buffer figure is only a rough lower estimate for a round trip.

Buffer delay calculator

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is the time for one buffer of 480 samples at 48 kHz?

    480 divided by 48,000 is 0.01 seconds, or 10 ms.
  2. 2. You hear crackles during a heavy mix. What is a sensible first step?

    A larger buffer gives the computer more time to process each block.
  3. 3. You turn on direct monitoring and now your voice sounds doubled. What is the likely cause?

    You hear the direct signal and a delayed copy from the DAW together.
  4. 4. What does plugin delay compensation mainly do?

    It delays other paths to line them up, but live monitoring through slow plugins still feels late.

Summary

  • Latency is delay between input and output.
  • One buffer lasts buffer size divided by sample rate.
  • Use smaller buffers to record and larger ones for heavy mixing.
  • Direct monitoring avoids most computer delay, but turn off the second monitoring path.
  • Slow plugins can make live playing feel late.

Next: Monitors, Headphones and Your Room

進捗を記録しよう

無料アカウントを作成すると、レッスンの完了を記録し、どの端末でも続きから学べます。