How to reduce latency
- Live Versions: Live 9.2 and later
- Operating System: All
What is latency?
Audio latency refers to a short period of delay (usually measured in milliseconds) between when an audio signal enters and when it emerges from a system. In computer based audio systems a certain amount of latency, known as audio buffering, is necessary to ensure that playback, recording and processing results in an error-free audio stream without dropouts or glitches.
Note: While it's possible to reduce latency, it's impossible to eliminate it entirely.
In Live's Preferences → Audio, the overall latency is calculated according to the driver type, audio interface, sample rate and buffer size in use.
Tips to reduce latency in Live as much as possible
- Reduce the audio buffer size
- Raise the sample rate
- Audio Input Device should be disabled if not needed
- Use ASIO audio drivers on Windows and Core Audio on Mac
- Use a dedicated audio interface running native drivers
- Reduce the CPU load
- Freeze and flatten plug-ins and devices which introduce latency
- Remove any plug-ins that may be inaccurately reporting their latency
- Close the editor window in Max for Live devices
Tips for reducing latency while monitoring and recording
- Reducing latency while monitoring
- Understanding what Driver Error Compensation is and when to use it
The smaller the buffer size, the lower the latency. Bear in mind that very small buffer sizes may cause dropouts or glitches due to the increased CPU load. Find the sweet spot where the buffer is as small as possible without impairing the audio quality.
Sample rate refers to the amount of samples which are carried per second. The higher the sample rate, the lower the latency. Higher samples rates will however put additional stress on the CPU.
If you are not recording from an external source, then set the Audio Input Device to "No device" in order to reduce the overall latency.
It's usually not possible to achieve low buffer sizes when using MME/Direct X in Windows. If no native ASIO driver is available for your device use ASIO4ALL instead. Core Audio is the default driver type on Mac.
Dedicated audio interfaces will usually have native ASIO or Core Audio drivers which should allow lower latencies overall. Use a quality audio interface rather than your computer's soundcard.
Lower CPU loads should allow lower audio buffer sizes. See our dedicated article on reducing the CPU load in Live.
Certain devices, plug-ins, and track delays may introduce latency. These latencies or delays arise from the time taken by devices to process an input signal and output a result. Live's Delay Compensation automatically compensates audio, automation, and modulation by offsetting all tracks by the required amount to keep them in sync with each-other. Tracks containing devices which introduce latency should be frozen and flattened to permanently remove the latency. Delay compensation must be active in the Options menu before you freeze and flatten the track.
If you're experiencing unusual latency delete each plug-in one by one in order to find which one might be causing the issue.
Max for Live devices will also introduce additional latency when their editor window is open. Close the editor to remove the additional latency.
Latency in recorded audio
Live only compensates audio recordings when the monitor of the recording track is set to "Off". Recordings made while the monitor is set to "In" or "Auto" are not compensated.
Reducing latency of a monitored signal when monitor is set to "In" or "Auto"
When large negative delays are in use, or if a number of latency-inducing plug-ins cause the overall latency to become quite large, it might become impossible to record audio or MIDI in real time. This is especially problematic if you're monitoring through Live. There are a number of ways of dealing with this.
- Use the "Reduced Latency When Monitoring" option
Activate "Reduced Latency When Monitoring" in the Options menu. This bypasses the additional latency in tracks which are either record-enabled or whose Monitoring is set to "In".
- Use direct monitoring (if your audio interface supports it)
Some audio interfaces have a function called direct monitoring. The signal enters the interface and is routed back out through the headphone monitor mix, instead of passing through Live first. You can send a copy of the signal into Live in order to record it at the same time.
- Monitor through an external mixing desk
Instead of monitoring through your interface or Live, monitor through an external mixing desk. At the same time, send a copy of the signal into Live in order to record it.
Note: Reducing latency while monitoring only reduces latency for the monitored signal. For recordings, the monitor needs to be set to "Off" in order to correctly compensate the recorded audio.
Understanding what "Driver Error Compensation" is and when to use it
Some audio interfaces (for instance built in soundcards and class-compliant devices) don't report an accurate device latency to Live, resulting in recorded audio which may be slightly mis-aligned. Driver Error Compensation (Live Preferences --> Audio) allows you to compensate for this mis-alignment.
- Although the "Overall Latency" amount is recalculated when Driver Error Compensation is adjusted, it does not reduce overall latency in Live for playback (only for recording)
- It's only needed if you have an interface which is not reporting its correct latency to Live
- It's only relevant in situations where you are recording audio from an external source
- It's only applied if the monitor is set to "off"
See our dedicated article: When to use Driver Error Compensation.