A FRESH APPROACH TO

AUDIO PRODUCTION
< All Topics
Print

Mix Troubleshooting

How to handle clicks in the audio

Clicks (buffer underruns) are the enemy when working with live digital audio. There can be several causes of these buffer underruns. We will go over them and look at ways to prevent them.

Windows Schedular

Especially with older CPUs (we have not seen this on the recommended CPUs yet), there can be problems with the Windows Schedular that cause clicks: When you have as many worker threads selected in the settings screen (or more) than the amount of logical CPU cores in the system, windows is running other processes on cores that also need to run real-time audio. Because of context switching, these cores need time to switch between the real-time audio processes and things like storage indexing, virus scanners, memory swapping etc.

A solution for this is to set the worker threads 2-4 threads lower than the number of logical cores. So, if the system has 12 logical cores, try 8-10 worker threads.

Audio Device Buffer

The audio device buffer determines the time between each moment the audio device presents and needs a new buffer of audio information. The lower this number, the lower the latency the audio device produces. But like the windows schedular problem, the lower this number, the higher the probability that there is an event on the computer that locks the CPU for a time that is long enough to cause buffer underruns. As a general rule of thumb 256 or 512 samples buffer should be good options to try.

Table of Contents