Model and Inference EngineeringMultimodal evidence and voiceStaff
How can a stereo-to-mono downmix cancel speech that is audible in either channel?
By Amit Kumar2 min readWorked answer includedReviewed 28 Sept 2026
The question
Interview question
Either channel of a two-channel call contains intelligible speech, but the mono output loses the caller. Explain the sample-level mechanism and alternative routing causes, design a waveform comparison and choose a source-specific repair without blindly flipping or discarding channels.
Draft your approach first
Take a few minutes before you read the answer. Name the constraint that matters most, the failure you are designing for and how you would know it worked.
Reveal the worked answerWorked answer
Look at the samples, not just the channel labels. A simple downmix is roughly M(t) = [L(t) + R(t)] / 2. If the caller's waveform on the right is nearly the negative of the left, R(t) ≈ -L(t), adding them cancels the caller. This can happen after a polarity inversion in capture or a previous processing stage. It does not mean every stereo downmix loses speech, and it does not mean the ASR model is defective. FFmpeg's audio filter reference source shows how channel mixes are constructed and how to select channels explicitly.
For a hypothetical three-sample fragment, left-channel values 0.4, -0.2 and 0.6 with right-channel values -0.4, 0.2 and -0.6 produce three zero samples under this average. Either channel alone retains its waveform. Exact cancellation needs aligned opposite polarity, while real delays and unequal gains can cause partial frequency-dependent loss. This is why a channel-name check cannot establish that a mix preserves speech.
For one affected clip, keep the original and measure energy and speech intelligibility on left, right and mono over the same timestamps. Inspect channel correlation or compare aligned waveforms around the missing phrase. A near-negative correlation where speech disappears is strong evidence for phase cancellation. It may also be a channel-routing bug: perhaps one channel contains a different speaker, or the configured layout is wrong. Test those hypotheses before applying a global fix.
I would preserve the two channels through ingest, with channel layout and provenance, and choose a downmix only after checking representative recordings from each source. If one channel is consistently clean, transcribe it directly. If both have useful speakers, transcribe per channel and reconcile timestamps and speaker labels. If a polarity inversion is confirmed, correct it at the appropriate boundary, then rerun a small evaluation set. Blindly flipping every right channel can break recordings that were already correct.
The call recording has two channels. Why did transcription lose the customer's reply? asks how channel handling lost the customer's reply when speakers were separated. This page is subtler: both channels visibly contain the same speech, yet their sum removes it. A short waveform comparison usually explains the failure faster than another ASR prompt.
Related questions
Keep practising model and inference engineering
Follow another question in this area, or search the complete library.
Get my essays on AI engineering and distributed systems by email. Subscribe to ArchCrux