Acoustic echo cancellation (AEC) and noise suppression (NS) are frequently bundled under 'noise cancellation' in marketing copy, which leads teams to buy the wrong component and then wonder why the device still howls. They are fundamentally different operations:
AEC removes a known signal — a delayed, reverberated copy of what your loudspeaker is playing — using the far-end downlink as a reference. NS removes unknown ambient noise using only the microphone signal. One needs an extra input channel; the other does not. That single architectural difference determines everything downstream.
The one question that decides it
Ask: can the microphone hear the device's own loudspeaker while that speaker is active? If yes — speakerphone mode, a smart speaker playing music, a hands-free car kit, a full-duplex door station, a conference bar — you need AEC. If no — a push-to-talk radio, a recording device, a wired headset with no local playback — you generally do not.
| Product | Mic hears own speaker? | Needs AEC | Needs NS | Typical chain |
|---|---|---|---|---|
| Push-to-talk radio | No (half-duplex) | No | Yes | NS → AGC → codec |
| Bodycam / recorder | No | No | Yes | NS (optional) → archive |
| Wired headset, no playback | No | No | Yes | NS → AGC → codec |
| Bluetooth headset (calls) | Usually no | Usually no | Yes | Beamformer → NS → HFP encode |
| Smart speaker / voice assistant | !Yes | !Yes | Yes | !Array (AEC+BF) → NS → AGC → KWS |
| In-car hands-free | !Yes | !Yes | Yes | !Array (AEC+BF) → NS → AGC → HFP |
| Door station / full-duplex intercom | !Yes | !Yes | Yes | !AEC → NS → AGC → SIP codec |
| Conference speakerphone | !Yes | !Yes | Yes | !Array (AEC+BF) → NS → AGC |
This is a design guide, not a guarantee: verify against the actual mechanical and firmware design, and watch for speakerphone or barge-in modes that turn a normally simplex device into a duplex one.
Why suppression cannot remove echo
Echo is speech — the far-end person's voice — so from the microphone's point of view it looks exactly like a legitimate local talker. A suppressor trained to preserve speech will preserve it. Turning up the suppression until the echo goes will also remove the local talker and produce pumping and clipping. Worse, during double-talk (both people speaking) the two voices overlap in time and frequency, which is the hardest case for any single-channel separator.
An AEC does not have that ambiguity because it knows what the loudspeaker played. It models the acoustic path from speaker to mic with an adaptive filter, subtracts the predicted echo, and typically uses a non-linear residual suppressor for the part the linear model cannot capture. ITU-T G.168 is the reference recommendation for these cancellers.
Two rules hold regardless of architecture. AEC must come before noise suppression (NS changes the statistics the adaptive filter sees and can slow or break convergence), and AGC comes after both. Where AEC sits relative to a beamformer is a separate choice: per-microphone AEC first (N cancellers) is cleanest for adaptive beams; beamformer first needs only one canceller but beam switches change the echo path, so it suits fixed beams with per-beam canceller state. See mic arrays & beamforming.
Symptoms that tell you which one is missing
- The far end hears themselves with a delay. Missing or unconverged AEC. No suppressor fixes this.
- Howling / feedback when both talk. Echo path too strong or AEC diverged in double-talk; also check amplifier headroom — a clipping speaker is non-linear and defeats a linear AEC.
- Constant fan/road/traffic roar but no echo. NS is the right tool; see steady-state and non-stationary noise.
- Half-duplex 'one at a time' behaviour. Usually a fallback because AEC was absent or unstable — a product-quality compromise, not a feature.
- Voice sounds hollow, pumping, consonants lost. Over-aggressive NS or a suppressor being (mis)used to fight echo.
Budgeting the two stages
AEC is typically the more expensive stage: an adaptive filter over a long echo tail, double-talk detection, a reference buffer and a non-linear residual processor. NS is cheaper and, in a plain-C frame-online design, highly predictable. When a vendor quotes a single combined model, ask for the per-stage compute, RAM and group delay, and for the far-end reference requirement — that last question tells you immediately whether it is a real AEC.
Our engine is the NS stage: 25.1 MMAC/s, under 100 KB RAM, under 90 KB Flash, causal with a 16 ms hop at 16 kHz. The companion FlyAec engine pairs AEC and suppression in a 1.1 MB model for full-duplex products. See also AEC for intercoms & door stations and the AEC measurement guide.
What it sounds like
These are the same recorded scenes we use across the site. Put on headphones and compare the raw microphone capture with the suppressed output:
Noisy public square (noise case)
Street with car horns (noise case)
HVAC / fan noise (noise case)
All ten scenes are on the FlyDenoise demo page, or upload your own recording (WAV / MP3 / M4A / OGG, up to 60 seconds) to the live demo.
Device-specific chains: intercoms and door stations, in-car hands-free, voice assistants, elevator and emergency intercoms, Bluetooth headsets and two-way radios (the notable no-AEC case). For the algorithm landscape see WebRTC NS vs RNNoise.
Hear it on your own audio
Upload a noisy recording and get the suppressed result back in seconds. Nothing is written to disk or retained.
Try the live demo Request an evaluationCommon questions
What is the difference between AEC and noise suppression?
AEC removes a known signal — a copy of what the loudspeaker played — using the far-end downlink as a reference. NS removes unknown ambient noise from the microphone signal alone. They need different inputs and solve different problems.
Can a good noise suppressor replace AEC?
No. Echo is speech and looks like a legitimate talker to the suppressor. Removing it by turning up suppression would also remove the local voice and cause pumping and clipping.
Does a half-duplex push-to-talk radio need AEC?
Usually no — the speaker is not active while the mic is open, so there is no echo path. Confirm the specific design; some vehicle intercoms are effectively full-duplex.
What is the correct processing order?
AEC (with the far-end reference) → noise suppression → AGC → encoder is fixed. Relative to a beamformer there are two valid orders: per-microphone AEC first (N cancellers, best for adaptive beams), or beamformer first with a single canceller (best with fixed beams holding per-beam state). NS always follows AEC because it would change the statistics the adaptive filter expects.
What is G.168?
The ITU-T recommendation for digital network echo cancellers. It defines test methods and performance objectives; it is not a prescription for a particular ML architecture.
Why does my device fall back to half-duplex?
Commonly because the AEC is missing or diverges during double-talk, so the firmware mutes one direction to avoid howling. It is a workaround, not a feature — check AEC convergence and amplifier headroom.