2025 Voice and Infrastructure Notes · advanced
AEC Only Worked Once the Reference Signal Was Actually the Far-End Audio
An echo canceller cannot remove what its reference channel does not represent.
Acoustic echo cancellation is easy to describe and easy to wire incorrectly. The algorithm needs the microphone signal and a reference representing what was sent to the speaker. If the reference channel is wrong, delayed incorrectly or processed through a different path, the canceller is trying to model the wrong system.
That made channel mapping one of the first checks instead of the last. I traced the I2S channels, confirmed which samples represented far-end playback, and compared timing before changing suppression parameters.
The other lesson was that AEC quality depends on the whole acoustic path. Speaker volume, enclosure coupling, clipping and nonlinear distortion all make the echo harder to model. DSP settings cannot compensate for every hardware problem.
Once the reference was correct, tuning became meaningful. Before that, every parameter change was just noise around a wiring error.