中文 English Deutsch Français
FlyAec› Blog› Double-talk detection methods
ENGINEERING · AEC

AEC Double-Talk Detection Methods Explained

The three detector families that keep the adaptive filter from diverging during overlap, and when to use each.

By QingYin Audio Lab · November 5, 2026 · 9 min read

Double-talk is the moment both the near end and the far end speak at once. For an acoustic echo canceller it is the dangerous moment: the error signal the filter uses to adapt now contains near-end speech, so if the filter keeps updating it diverges and the echo returns.

This article compares the three detector families used to recognize double-talk, Geigel energy ratio, normalized cross-correlation, and two-path schemes, and explains when each is the right tool. It pairs with our double-talk demystified overview.

Why double-talk breaks adaptation

The linear canceller adapts to minimize the error between the mic signal and the estimated echo built from the far-end reference. In single-talk that error is the echo misalignment, so adapting reduces echo. In double-talk the error also contains near-end speech, which is not part of the echo model; adapting to it corrupts the filter coefficients and the echo estimate gets worse, not better. The detector's job is to say when to stop trusting the error.

This is the root cause explained in our double-talk demystified piece; here we look at the detectors themselves.

Geigel energy ratio

The Geigel detector compares the current near-end energy with the maximum far-end energy seen over a recent window. If the near-end is more than a threshold above the recent far-end peak, it assumes near-end speech is present and freezes adaptation. The original Geigel threshold is about 6 dB in amplitude (a factor of roughly 2), derived from the expected echo return loss.

Its strength is simplicity and low cost. Its weakness is that any near-end noise or a sudden far-end drop fakes or misses the condition, and it assumes a minimum echo path loss that may not hold.

The 6 dB figure assumes the echo return loss of the acoustic path is at least that large; in a small enclosed device the path loss can be far smaller, so the far-end level at the mic is close to the near-end level even in single-talk. In that case a 6 dB threshold never triggers and the detector is effectively off. The fix is to measure the real path loss and set the threshold relative to it, which is why the same detector behaves so differently across devices.

Normalized cross-correlation (NCC)

NCC measures how correlated the error signal is with the far-end reference. In single-talk, after the filter has converged, the error is uncorrelated with the far-end (it is residual echo plus noise). When near-end speech appears, the error correlates less with the far-end because near-end speech is independent, so the correlation drops and the detector declares double-talk.

NCC is more robust to near-end noise than a pure energy ratio because uncorrelated noise does not inflate the correlation. Its cost is the correlation computation each frame.

Two-path (dual-path) schemes

Two-path methods keep two filters: a continuously adapting one and a frozen, presumably converged one. They compare the error of both and switch to the frozen filter when the adapting one's error worsens, which happens in double-talk. Some variants combine this with a Geigel or correlation check.

The benefit is resilience: even if the detector is late, the frozen path limits how far the filter can diverge. The cost is double the filter memory and compute.

A simpler variant used in resource-limited devices is a single adaptive filter plus a hangover timer: after double-talk ends, keep the filter frozen for a short, fixed period before resuming adaptation. This costs no extra memory yet avoids the worst divergence when detection is slightly late.

Choosing and combining detectors

In practice devices combine them: a cheap Geigel check for a fast first guess, an NCC check to confirm in noisy conditions, and a two-path backup to bound divergence. The right mix depends on the noise floor and the compute budget; a quiet headset can use Geigel alone, a noisy industrial station needs correlation.

Tuning is empirical: set thresholds from measured near-end and echo levels rather than from the textbook values.

Threshold setting is where most field failures come from. A Geigel threshold tuned for a 6 dB echo path loss will freeze too late if the real path loss is smaller, and too early if it is larger; measure the actual echo return loss of the device and derive the threshold from it rather than copying a textbook constant.

The root cause behind all three detectors is in Double-Talk Demystified, and their decision latency feeds the budget in AEC Latency Budget for Full-Duplex Voice.

Hear it on your own audio

Upload a real call recording and compare the AEC output on our demo page.

Try the live demo Request an evaluation
FAQ

Common questions

What is double-talk in AEC?

It is when near-end and far-end speech occur together; the error signal then contains near-end speech, so adapting the filter diverges and echo returns.

How does the Geigel detector work?

It compares current near-end energy with the recent maximum far-end energy and freezes adaptation when near-end exceeds it by a threshold, originally about 6 dB.

Why use cross-correlation?

Normalized cross-correlation is robust to near-end noise because uncorrelated noise does not fake the correlation the way an energy ratio can.

What is the two-path method?

It keeps an adapting and a frozen filter and switches when the adapting one's error worsens, bounding divergence even if detection is late.

Should I use one detector?

Most devices combine a fast Geigel guess, an NCC confirmation in noise, and a two-path backup, tuned from measured levels.