AP Filter Tip

A quick tip about a way to use all-pass filters that may not be apparent.

p01-01.png — from page 1

The scenario

Two channels have been tuned and measured with a moving-mic (spatial average) measurement — meaning there’s no direct phase measurement available for this check, only a frequency-response spatial average.

p02-01.png — from page 2

As a sanity check, both channels are turned on together to confirm they sum correctly. The result shows an area that doesn’t sum correctly — but it’s NOT a deep, narrow dip (which would indicate a clean 180° phase mismatch at those frequencies). Instead it’s only about a 6dB dip in the sum.

What a partial (not full-null) dip in a spatial average means: the underlying phase mismatch isn’t the same at every measurement position in the spatial average — it varies from spot to spot, which smooths out what would otherwise be a sharper, deeper null at any single point.

Why a plain all-pass filter fix is risky here: applying one would fix the sum at the ONE spot where the measurement was taken, but not at other positions — since the underlying issue isn’t a single consistent phase relationship in the first place. Since the spatial average correlates better with what’s actually heard, the fix should target the average, not one point.

p03-01.png — from page 3

The phase wheel

Since we need to know how much phase correction to apply — and it isn’t necessarily 180° (or any round number) — a “phase wheel” is used: a circular diagram marking phase-difference angles around the circle (0° at top, 180° at bottom) with the corresponding dB result of summing two equal-level signals at that phase difference. Example: 150° out of phase produces a 6dB cancellation (vs. a full null at 180°) — directly useful for reading a dip’s exact depth back into a phase-difference estimate.

p04-01.png — from page 4

p04-02.png — from page 4

The problem: no single all-pass filter produces less-than-180° shift cleanly

A single all-pass filter’s phase response doesn’t stay at a clean, constant value across a whole frequency range — a 2nd-order all-pass filter centered at, say, 1kHz sweeps smoothly from 0° well below its center frequency to 360° well above it (with 180° AT the center frequency), so simply placing one filter doesn’t produce a targeted, band-limited phase shift like “150° over this specific range and back to 0° at the edges.”

p05-01.png — from page 5

p05-02.png — from page 5

The two-filter technique

The actual dip in this example spans roughly 500Hz to 2kHz, centered with an estimated ~150° phase difference (per the phase wheel, matching the observed 6dB dip depth), returning to in-phase at both edges.

Solution: apply ONE all-pass filter to each of the two channels, at different frequencies:

  1. Placing one all-pass filter on each channel, offset from each other, creates a phase DIFFERENCE between the channels specifically in the band between the two filter frequencies — above and below that band, the channels return to being in phase with each other.
  2. The spacing between the two filter frequencies controls the AMOUNT of phase difference created in the affected band — narrower spacing produces less phase difference; wider spacing produces more. (First attempt: filters at 1k and 2k produced ~188° difference at 1kHz — too much; narrowing the upper filter to 1.5kHz brought it down to ~123° at 1kHz and ~150° at 900Hz — much closer to target.)
  3. The Q of each all-pass filter controls the RATE (and therefore bandwidth) over which the phase change happens — raising the Q narrows the frequency band over which the phase shifts, tightening the effect to just the problem region rather than spreading it broadly.

p06-01.png — from page 6

p06-02.png — from page 6

By tuning both the spacing (amount of phase shift) and the Q (bandwidth of the shift) together, the correction can be shaped to closely match a specific measured problem — arbitrary phase-difference amounts over arbitrary frequency ranges, something no single all-pass filter alone can achieve.

Practical workflow

p07-01.png — from page 7

p07-02.png — from page 7

  1. Find the center frequency of the dip in your summed measurement.
  2. Apply two all-pass filters — one above the dip’s center, one below.
  3. Adjust the SPACING between the two filter frequencies until the center of the dip reaches the level it ought to reach (6dB above the individual channel measurements, i.e. proper in-phase-equivalent summation).
  4. Adjust the Q values of both filters IN TANDEM to fill in the response above and below the new peak/correction in the middle, narrowing the affected band to just the problem region.

Where to apply this

Best done in a global EQ that affects all channels — or, if available, an input EQ stage that includes all-pass filtering — so the phase relationship between all the OTHER speakers making up that channel (subs and midbass especially) isn’t disturbed by a correction meant only for this specific problem.

p08-01.png — from page 8