audio comb filter calculator
Comb Filter Calculator guide
Use the calculator to inspect phase cancellation when a direct signal and a delayed copy are mixed, as with reflections or double-miked sources.
Play the instrument ↑- Default calculation
- A 5 ms difference places same-polarity nulls at 100, 300, and 500 Hz.
Formula and units
The null spacing is 1,000 divided by delay in milliseconds. With matching polarity the first null occurs halfway through that spacing. With reversed polarity the first is at DC.
Worked example
A 5 ms difference places same-polarity nulls at 100, 300, and 500 Hz. With opposite polarity the first three are 0, 200, and 400 Hz.
Convert a path-length difference to a delay before using this model. The distance contribution depends on the assumed speed of sound and whether the path is one-way or reflected.
Identify two-path cancellations
Consider a signal arriving directly and a second copy arriving two milliseconds later with the same polarity and level. The delay spans half a period at 250 Hz, placing the two copies on opposite sides of the waveform. They cancel in the ideal model. At 500 Hz the delay spans a complete period and the copies reinforce. Another cancellation arrives at 750 Hz because the delay spans one and a half periods.
Sometimes a distance is easier to estimate than a delay. At about 343 metres per second, a 0.343 metre difference in total path lengths takes roughly one millisecond. With equal, matching-polarity copies, expect a first null near 500 Hz. For a reflection, compare the complete path from source to reflecting surface to listener with the direct route. Do not substitute only the distance from the listener to the wall.
A mixing engineer might invert one microphone's polarity while comparing tracks. This moves the ideal minima rather than correcting a time delay across all frequencies. If the two waveforms are clear and stable, inspect their relative time positions and compare the result with a mono listen. Alignment can help when the delayed track represents the same source. Reflections and microphone response differences can still produce remaining peaks or notches.
Verify cancellation assumptions in a recording
If your microphones are 0.686 metres different in source path length, the modeled delay is roughly two milliseconds at 343 metres per second. The first ideal same-polarity null is near 250 Hz. Compare the measurement against this prediction rather than assuming a notch came from an equalizer setting. Time-varying source position might move the interference during a take.
For a simple bench check, duplicate one track and offset it by 48 frames in a 48 kHz session. Leave gains equal and compare a summed spectrum. The delay is one millisecond and the first ideal notch is 500 Hz. Invert one copy and inspect how the pattern changes. The actual displays may reflect window size and frequency resolution.
Playback through separate speakers can produce different path delays at each listening position. Improve the placement or check individual arrivals before applying compensation intended for an entire room from one chosen calculation. If changing distance also changes microphone level, note the new signal balance along with the updated delay.
Assumptions and limits
Deep nulls require matched levels in this two-path model. Reflection filtering, unequal gain, dispersion, or multiple arrivals change the actual depth and pattern.
Speaker Delay Calculator → · GestureSynth music theory tools → · Shure microphone techniques guide →
Answers before you play
Common questions
Are the displayed frequencies peaks or notches?
They are notches for the selected relative polarity. Peaks occur midway between adjacent ideal notches.
What happens when the second signal is quieter?
The two magnitudes cannot fully cancel. In a simple case with one path at unit gain and the delayed path at half gain, the extreme summed magnitudes range from 0.5 to 1.5. The ideal equal-level frequencies are still a guide to where the two-path interference occurs.
Why is the first opposite-polarity null zero Hz?
At DC the signals are constant and delay changes neither value. When a copy with equal amplitude has the opposite sign, the sum cancels. Higher nulls then occur at integer multiples of the inverse delay because the delayed copy completes full cycles before being subtracted.
Does this describe the tone of a feedback comb filter too?
The table models feedforward addition or subtraction of one delayed copy. Repeated feedback changes the response shape and depends on loop gain and polarity. Multiple reflections or a feedforward mix with a different gain can also reshape a measured response. Use the model to isolate the relationship between time difference and spacing.