Phase Redux, Part 2

Phase Part 2

Yesterday I wrote about adding two identical sine waves together at various degrees of phase between them. When the waves are the same and in phase, the amplitude (level) is double, which is 6dB. When they are 180 degrees out of phase, they cancel and we have nothing. In between 0 and 180 degrees, the phase between them determines the level of the sum of the two waves.

This happens under two conditions:

  1. the waves are at the same frequency.
  2. the waves happen at the same time.

What happens when the two sine waves are NOT the same frequency?

p02-02.png — from page 2

Two sine waves are added together: the green wave’s frequency is 10x the blue wave’s (e.g. blue = 100Hz, green = 1kHz). The red wave is their sum, in phase. The result: you can easily see both signals in the sum — it follows the shape of the blue wave, and the green wave rides on top of it.

Now set the green wave’s phase to 180 degrees instead of 0. Nothing really changes — the peaks/dips of the green wave shift position, but the overall signal is essentially the same.

p01-01.png — from page 1

p02-01.png — from page 2

Confirming with real audio (Adobe Audition)

p03-01.png — from page 3

p03-02.png — from page 3

Same demonstration redone with actual 100Hz and 1kHz sine wave audio signals and a frequency-analysis window. Summing them shows the 1kHz wave riding on the 100Hz wave, with both frequencies visible in the frequency-response window. Flipping the 1kHz wave 180 degrees out of phase relative to the 100Hz wave: nothing happens — same frequency response. (Aside: dismisses the claim that this kind of phase difference between non-harmonically-related/unrelated frequency components would be audible — “I’d have to play [Larry Frederick’s] BS card in response to that claim.”)

When does phase actually matter for a speaker system?

Phase matters when two (or more) sound sources play the same thing at the same time. Two situations where that happens:

  1. Left/right speaker imaging. Sound common to both left and right channels sums and is heard as if coming from the center, between the speakers — the basis of stereo “imaging.” For this to work, left and right speakers must be in phase with each other. (Same applies to low-frequency drivers on left/right channels: in-phase bass sums to more bass — really the same imaging principle, though often considered separately.)
  2. Crossover handoff regions. When one driver stops playing a range and another takes over (e.g. midrange handing off to tweeter), the handoff isn’t instant — there’s a TRANSITION REGION where both drivers play the same content simultaneously, and its WIDTH depends on the crossover slopes. In these transition regions, each driver’s phase matters a lot, because phase determines how their outputs sum.

Illustrated with a crossover-filter screenshot (Linkwitz-Riley 24dB/oct filters, corner frequencies 80Hz and 2500Hz) with the low-mid and mid-high transition regions highlighted — phase matters specifically inside those highlighted overlap regions, not everywhere.

p05-01.png — from page 5

Key generalization: when two sine waves that ARE THE SAME and that play AT THE SAME TIME are summed, phase between them matters a lot. If they don’t play at the same time, or aren’t at the same frequency, phase isn’t a big deal. In regions where speakers aren’t playing the same content, each speaker’s individual phase isn’t important.

Note on what “in phase” means in the crossover context: it does NOT mean 0 degrees — it means “in the correct phase according to the crossover design.” Left drivers need to be in phase with each other at the crossovers; right drivers likewise; and left+right need to be in phase with each other for proper center imaging.

Homework / teaser for Part 3

What contributes to phase shifting in an audio system? Hints:

  1. What if the same signals don’t start or arrive at the listening position at the same time?
  2. What if the signal has to pass through a filter?
  3. What if the frequency response isn’t flat — does phase change if the frequency response changes?

Jay Kirsch’s comment, added into the post: high-school “greatest common factor” (GCF) has a psychoacoustic application here — a 300Hz wave and an 1100Hz wave, when summed, have 100Hz in common.

p07-01.png — from page 7

p07-02.png — from page 7

Building on that point: there IS a difference between components of a signal that are harmonically related being in phase or not, unlike the earlier 100Hz/1kHz (10x, still harmonically related but demonstrated differently) example. Returning to the graphing-calculator sine waves: aligning the DIP of the 1kHz wave with the PEAK of the 100Hz wave gives a certain max level for the sum (doesn’t quite reach the top of the display). Changing the phase so the 1kHz wave’s peak instead aligns with the 100Hz wave’s peak changes that max level (visibly higher). So the phase between harmonically-related components DOES contribute to the overall level of the sum.

Would you hear this? Not as a change in tone, and the level difference is small enough it might not be perceived as a level change either — but it could matter if it caused digital clipping. Other combinations could produce a bigger difference. This concept is deferred for later, more detailed treatment.

Next installment: how phase affects broadband signals, where speakers are playing many frequencies simultaneously.