A single microphone gives you one signal and no information about direction. Add two or more microphones and you gain spatial selectivity: you can favour sound arriving from the talker's direction and suppress sound arriving from elsewhere. That is beamforming, and it is the main reason headsets, smart speakers, cars, conference bars and meeting-room units use arrays at all.
It is tempting to treat a beamformer as 'a better noise suppressor'. It is not. A beamformer uses space; a single-channel suppressor uses spectral and temporal statistics. They are complementary, they fail in different conditions, and their order relative to the echo canceller is one of the most consequential architecture decisions in a voice product.
Geometry sets what is even possible
Array layout determines the frequency range over which steering works. A linear array (4–8 mics in a line) resolves roughly a half-plane and suits a TV or monitor; a circular array (often six mics) gives 360° azimuth coverage and is common in smart speakers; spherical or multi-plane arrangements add elevation for ceiling or table conference units.
Microphone spacing is a direct trade-off: wider spacing improves low-frequency directivity but causes spatial aliasing (grating lobes) at high frequencies; tighter spacing avoids aliasing but loses low-frequency resolution. Production tolerances matter too — sensitivity and phase mismatch between capsules behave like independent noise and are amplified by superdirective designs, so measure steering vectors on the assembled product rather than trusting ideal geometry.
Three families of beamformer
| Method | How it works | Strength | Characteristic failure |
|---|---|---|---|
| Delay-and-sum (DAS) | Align each channel for the target direction, then average | Simple, robust, best white-noise gain | High sidelobes; weak rejection of off-axis interferers |
| Superdirective / fixed beams | Designed weights, often several beams + selection | High directivity from a small array; predictable for AEC | Amplifies self-noise and mic mismatch; needs diagonal loading |
| !Adaptive (MVDR / GSC) | !Minimise output power under a distortionless constraint; place nulls on interferers | !Strong rejection of real point interferers | !Signal cancellation, sensitive to steering-vector error, needs speech gating |
Methods and trade-offs are drawn from standard array-processing literature (DAS, MVDR, GSC, filter-and-sum, multi-channel Wiener post-filters). Direction finding commonly uses GCC-PHAT / SRP-PHAT, which can lock onto reflections or loud noise unless gated by speech presence.
The reverberation limit nobody puts in the datasheet
Beamforming theory is derived for free fields. Real rooms reflect. As reverberation time increases, a coherent point interferer smears into a near-isotropic field arriving from all directions, and the achievable attenuation collapses. VOCAL Technologies describes a critical distance — typically around 1.5 m in a room — where direct and reverberant energy are equal, at which point an MVDR's interference attenuation can fall to roughly 3 dB. GSC structures and beamformer post-filters (often a multi-channel Wiener filter) are the standard responses.
This is the single biggest reason a beamformer that measures well in an anechoic lab disappoints in a meeting room. It is also why a post-filter / single-channel suppressor is still required: after the beam there is residual diffuse noise, reverberant tails and non-stationary transients that spatial filtering cannot remove. See steady-state noise and non-stationary noise for those two regimes.
Division of labour. Beamforming handles directional interferers and gives an SNR boost before non-linear processing. The suppressor handles what remains. AGC follows both. Neither removes acoustic echo — that needs the far-end reference. Nor can either fully separate two talkers in the same direction; see babble noise.
Where AEC goes — two valid orders, not one
If the device plays audio, the microphones hear it, usually far more loudly than the talker. The echo canceller needs the loudspeaker signal as a reference. Its position relative to the beamformer is the key decision:
- AEC first, per microphone (N cancellers). Each channel is echo-free before beamforming; adaptive beam weights can then move freely without invalidating a learned echo path. Cleanest behaviour and the standard choice for adaptive beams — at the cost of N cancellers and N reference channels.
- Beamformer first, one AEC on the beam. Only one canceller, so it is cheaper. But every change of beam weights changes the echo path the canceller has modelled, forcing re-convergence and letting echo leak through on a beam switch. Fixed beams make this viable because each beam has a stable echo path and can keep its own canceller state.
- Hybrid. Per-microphone cancellation on a subset of channels, fixed beams afterwards.
There is no universal 'always put AEC after the beamformer' rule. The right order depends on whether your beams are fixed or adaptive, how many cancellers your compute budget allows, and how often the beam switches. Decide it early — retrofitting it late is expensive. We have corrected earlier articles on this site that stated the post-beam order too absolutely.
Recommended chain, and how to validate it
A practical full-duplex multichannel front end is: multi-channel capture → (per-mic AEC, or beam-then-AEC) → beamformer → post-filter / noise suppression → AGC → encoder or keyword spotter. Our standard engine is the single-channel NS stage in that chain: plain C, 25.1 MMAC/s, under 100 KB RAM, causal with a 16 ms hop at 16 kHz. It does not replace the beamformer or the AEC.
- Judge changes by downstream metrics — wake-word false-reject rate, word error rate, or transcription accuracy in real rooms at several distances — not only by directivity index or PESQ.
- Measure steering vectors on assembled units; enclosure ports and gaskets change each mic's response.
- Gate adaptive weight updates by speech presence and cap adaptation speed to avoid signal cancellation.
- Monitor inter-channel correlation at start-up and after buffer underruns; a single dropped sample shifts every phase.
- Set a white-noise-gain floor and derive per-bin diagonal loading from measured mic tolerances, not best-case parts.
- Test beam switches during double-talk with far-end playback at realistic volume.
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:
Diffuse multi-talker babble
Loud diffuse noise and music
Directional transient interferer
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 chains that depend on this: conference speakerphones, voice assistants, in-car hands-free, Bluetooth headsets and intercoms & door stations. The echo half of the architecture is NS vs AEC, with the engine itself on FlyAec. For the single-channel algorithm landscape see WebRTC NS vs RNNoise and the firmware integration guide.
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
Is beamforming a replacement for noise suppression?
No. A beamformer uses spatial selectivity; a single-channel suppressor uses spectral/temporal statistics. Residual diffuse noise, reverberant tails and transients survive the beam, so a post-filter is still needed.
Should AEC run before or after the beamformer?
Both are valid. Per-microphone AEC first (N cancellers) is cleanest and suits adaptive beams. Beamformer first needs only one canceller but a beam-weight change alters the echo path and forces re-convergence; fixed beams with per-beam canceller state make it workable. Choose based on beam type and compute budget.
Why does my beamformer work in the lab but not in a meeting room?
Reverberation. As reflections build, a coherent interferer smears into a near-isotropic field; at the critical distance (often around 1.5 m) direct and reverberant energy are equal and MVDR attenuation can fall to a few dB. GSC structures and beamformer post-filters are the usual mitigations.
What is the difference between delay-and-sum, MVDR and GSC?
Delay-and-sum aligns and averages channels: robust but high sidelobes. MVDR minimises output power subject to a distortionless constraint in the look direction, placing nulls on interferers but risking signal cancellation. GSC decomposes that into a fixed beamformer plus an adaptive noise canceller with a blocking matrix.
Can an array separate two people talking at once?
It can favour one direction, but two talkers at similar angles remain mixed. Arrays help far more than a single mic — see the babble article — but target-speaker separation generally needs enrolment or a dedicated model.
How should I evaluate a beamformer change?
By downstream task metrics: wake-word false rejects, word error rate or transcription accuracy in real rooms at several distances and noise types. Directivity index and lab SNR do not predict these reliably.