Home

Echo Cancellation

Echo cancellation removes the feedback loop created when a microphone picks up sound from nearby speakers, preventing participants from hearing their own voices delayed during a call.

What Echo Cancellation Is

Echo cancellation is an audio processing technique that detects and removes feedback loops in real-time voice communication. The problem it solves is straightforward: when audio from a speaker is picked up by a nearby microphone and transmitted back to the sender, the sender hears their own voice after a short delay. That delay is disorienting and makes normal conversation difficult.

The echo is not a hardware defect. It is a predictable consequence of having speakers and microphones in the same room. Without cancellation, every word spoken would bounce back a fraction of a second later, creating an auditory mirror that degrades intelligibility.

How the Feedback Loop Forms

The feedback loop begins when one participant speaks. Their voice is transmitted over the network to another participant's device, where it plays through speakers or headphones. If that audio leaks into the microphone on the receiving end, it gets picked up and transmitted back to the original speaker. The speaker then hears their own voice, delayed by the round-trip latency of the network and the processing time of the devices.

The delay is typically between 100 and 500 milliseconds, depending on network conditions and device processing speed. Delays under 30 milliseconds are generally imperceptible. Delays above that threshold become noticeable, and delays above 200 milliseconds make conversation nearly impossible without conscious effort to pause and wait.

The problem compounds when multiple participants are on the same call in the same physical space. Each open microphone can pick up audio from multiple speakers, creating overlapping feedback paths that traditional acoustic dampening cannot fully address.

How Echo Cancellation Works

Echo cancellation works by modeling the acoustic path between the speaker and the microphone, then subtracting the predicted echo from the outgoing audio signal before transmission. The algorithm continuously monitors the audio being played through the speaker and compares it to the audio being captured by the microphone. When it detects a correlation, indicating that the microphone is picking up the speaker output, it generates an inverse waveform to cancel the echo in real time.

This process is called adaptive filtering. The cancellation algorithm must account for the fact that the acoustic environment changes constantly. Room acoustics, microphone placement, speaker volume, and background noise all affect the feedback path. The algorithm adapts its model dynamically, recalculating the cancellation filter hundreds of times per second to maintain accuracy.

The algorithm also must distinguish between true echo and legitimate sound. If a participant coughs or types while another person is speaking, the microphone picks up both the speaker's voice and the local sound. The cancellation algorithm needs to preserve the local sound while removing only the echo. This requires precise timing and signal separation.

Where Echo Cancellation Runs

Echo cancellation can be implemented in hardware, software, or a combination of both. In modern voice and video calling systems, it is most commonly handled in software, either on the device itself or within the browser.

Device-level echo cancellation runs on the operating system's audio stack. macOS, Windows, iOS, and Android all include system-level acoustic echo cancellation as part of their audio processing pipelines. When an application accesses the microphone, the OS applies cancellation automatically before delivering the audio stream to the application.

Browser-based cancellation is handled by the Web Audio API and the browser's implementation of the WebRTC standard. Browsers like Chrome, Firefox, Safari, and Edge include built-in echo cancellation for audio and video streams. The effectiveness varies depending on the browser's implementation and the device's audio hardware.

Application-level cancellation is implemented by the calling software itself, independent of the operating system or browser. This gives the application direct control over the cancellation algorithm, which can be tuned for specific use cases or integrated with other audio processing features like noise suppression and automatic gain control.

Echo Cancellation and Other Audio Processing

Echo cancellation does not work in isolation. It is part of a larger audio processing pipeline that includes noise suppression, automatic gain control, and acoustic feedback control.

Noise suppression removes background sounds that are not part of the conversation, such as typing, traffic, or HVAC systems. It works by analyzing the frequency spectrum of the incoming audio and filtering out sounds that do not match the characteristics of human speech.

Automatic gain control adjusts the volume of the audio signal to maintain consistent loudness. If a participant speaks quietly, the gain increases. If they speak loudly or move closer to the microphone, the gain decreases. This prevents distortion and ensures that all participants can hear each other clearly without manual volume adjustments.

Acoustic feedback control prevents the high-pitched squeal that occurs when a microphone picks up its own amplified output in a loop. This is distinct from echo, which is a delayed repetition of the original signal. Feedback control works by detecting the onset of oscillation and applying a notch filter to suppress the offending frequency before it becomes audible.

These techniques are applied in sequence, each acting on the output of the previous stage. The exact order and configuration depend on the implementation, but echo cancellation typically runs early in the pipeline, before gain control and noise suppression, because it requires access to the raw audio signal to model the feedback path accurately.

Why Echo Cancellation Matters for Remote Work

Echo cancellation became a baseline requirement for enterprise communication tools as remote work scaled. Before the shift to distributed work, most business calls happened in controlled environments with dedicated conference room hardware. Those systems included purpose-built acoustic processing, and participants were typically in separate locations, which reduced the risk of feedback.

Remote work changed that. Employees now join calls from home offices, shared workspaces, and open-plan offices where multiple people may be on calls simultaneously in the same room. Laptop microphones and built-in speakers are more prone to echo than dedicated headsets or conference room setups. Without effective echo cancellation, these environments become unusable for voice communication.

The impact is not just audio quality. Echo increases cognitive load. Participants have to concentrate harder to follow the conversation, which leads to fatigue over the course of a day filled with back-to-back calls. Poor audio quality also reduces perceived professionalism, which matters in client-facing conversations and during interviews.

When Echo Cancellation Fails

Echo cancellation algorithms are not perfect. They can fail or degrade under certain conditions.

High network latency makes cancellation harder. If the round-trip delay exceeds the algorithm's prediction window, the cancellation filter cannot accurately model the feedback path, and residual echo remains audible.

Low-quality audio hardware can introduce distortion that the algorithm cannot compensate for. If the speaker or microphone has nonlinear frequency response, the echo does not match the original signal cleanly, and the cancellation filter struggles to subtract it.

Multiple devices in the same physical space create overlapping feedback paths that exceed the algorithm's capacity. If three participants in the same room are all on the same call with their microphones open, the cancellation algorithm on each device must account for audio coming from multiple speakers, which increases complexity and reduces effectiveness.

Software bugs and implementation flaws also cause failures. Not all echo cancellation implementations are created equal. Some browsers and devices perform better than others, and some calling applications disable or misconfigure the feature unintentionally.

Headsets and Hardware Workarounds

The most reliable way to eliminate echo is to use a headset. When audio plays through headphones instead of speakers, the microphone does not pick up the output, and the feedback loop never forms. This is why most enterprise IT departments recommend or require headsets for employees who spend significant time on calls.

Headsets are not always practical. In open offices, wearing a headset for eight hours a day is uncomfortable. In client-facing roles, some people prefer speakerphone mode to avoid the appearance of being distracted or multitasking. In those cases, the quality of the software-based echo cancellation becomes the determining factor in whether the call is usable.

Some conference room hardware includes acoustic beamforming and directional microphones designed to minimize feedback. These systems use microphone arrays to focus on the speaker's voice and reject sound coming from the direction of the speakers. This reduces the amount of echo the cancellation algorithm has to handle, which improves overall performance.

Echo Cancellation in Enterprise Communication Tools

Echo cancellation is a table-stakes feature for any B2B communication platform. Clients expect it to work transparently, without configuration or manual adjustments. When it fails, support tickets pile up, and users blame the platform rather than their hardware or environment.

The expectation is that the platform handles it automatically. Users should not have to know what echo cancellation is or how it works. They should be able to join a call, speak, and be heard clearly. That requires the platform to implement cancellation at the device level, account for a wide range of hardware and network conditions, and provide fallback mechanisms when the primary algorithm fails.

Some platforms allow users to disable echo cancellation manually, typically in advanced audio settings. This is useful for musicians or audio professionals who need direct access to the raw audio signal, but for most business users, the feature should always be enabled by default.

Stackord's Audio and Video Calling

Stackord's audio and video calling includes echo cancellation to keep calls clear for all participants. Try Stackord for free.