Home/Time & Distance

Comb Filter Analyzer

See the notches created when two copies of a signal arrive at different times.

Inputs

ms
How much quieter the late copy is
dB ↓

Results

Time offset
1ms
≈ 0.343 m path difference
First notch
500 Hz
Notch spacing
1 kHz
every notch after the first
Peak / notch
+6 / −∞dB
Equal-level arrivals produce complete cancellations. Move the mic/speaker, add delay, or reduce the level of the second path.

Resulting frequency response

20501002005001k2k5k10k20k-30-25-20-15-10-50510FREQUENCY (HZ)DBsingle source1st notch 500 Hz
Sum of both arrivals

How it works

When the same signal reaches a point twice (a direct sound plus a reflection, two microphones on one source, two speakers covering the same seat), the two copies add at some frequencies and cancel at others. The result looks like a comb when plotted on a linear frequency axis, hence comb filtering.

Formulas (same polarity)
first notch f₁ = 1 / (2 × Δt)    notches at f₁, 3f₁, 5f₁ …    peaks at 0, 2f₁, 4f₁ …
peak = 20·log(1 + g)    notch = 20·log(1 − g)    g = 10^(−ΔL/20)
  • A 1 ms offset (34 cm) puts the first notch at 500 Hz with cancellations every 1 kHz, squarely in the vocal range. Shorter offsets push the first notch higher, longer offsets create dense, narrow ripples.
  • Level difference is the cure. Each 6 dB of difference halves the depth problem: at 10 dB the notch is only about −3.3 dB deep.
  • 3:1 rule for multiple mics: keep the second mic at least three times farther from the source than the first one, which yields roughly 10 dB of difference.
  • Inverting polarity swaps peaks and notches: now there is a notch at DC and the first peak at 1/(2Δt). Useful to understand why a polarity flip can "fix" a sub-to-top crossover region.