Moulton Laboratories
the art and science of sound
About Comb Filtering, Phase Shift and Polarity Reversal
By Dave Moulton
August 1993
2. "Polarity" and "Phase"
Write a Comment
comments: (6)

The phenomena of comb filtering, phase shift and polarity reversal are surrounded in myth and are a bedrock topic for audio engineers.
songsforsync.com
Hip and novel music for use in TV and Film - a site for the industry professional.
songsforsync.com/
Recording Magazine
The magazine musicians depend on to make better recordings.
www.recordingmag.com
Golden Ears
Audio ear-training course for recording engineers, producers and musicians.
www.kiqproductions.com
< 1 2
All this, so far, is straight-ahead no-brainer stuff, but it now begins to get a little weird. Two phenomena that we have to ponder out on the edge of the audio twilight zone are "the quality of out-of-phase-ness" and "how come we don't always hear out-of-phase-ness."

If you think about it, it's obvious that there is no such thing as "out-of-phase" for a sound that has more than one frequency. As the figures above illustrate, any given delay time will yield an infinite number of phase shifts at an equally infinite number of different frequencies. So how can a sound be 180° out of phase?

Answer: it can't, unless it's a sine wave.

But, Dave, there's an out-of-phase button on my console that can be used for some killer effects, and we're not talking sine waves.

Answer: what you are referring to isn't "out-of-phase," it is "reversal of polarity."

Yeah, so how come it is called "out-of-phase?"

Answer: because when you reverse the polarity of a sine wave, the sine wave appears to have shifted in time by 180° (even though it hasn’t), and electronics engineers, like everyone else, are lazy and sloppy with their language. And, like, they know what they mean, you know?

So Dave, what do you mean by "reversing the polarity?"

Answer: reversing the polarity means reversing the positive and negative portions of the wave (in electricity it means reversing the direction of current flow, in air it means changing compression to rarefaction and vice versa, and in math it means changing the signs from positive to negative and vice versa).
  
A signal and its inversion. The inversion is offset above the original for clarity of illustration. In reality, they both swing back and forth across the same baseline or zero-point.

When you reverse the polarity of a signal, there is no time change, hence there is no phase shift. Also, polarity reversal has some special behavioral characteristics of its own.

This leads to the second big issue: how come we don't always hear “out of polarity?”

C’mon, admit it. You don’t.

Think about it. Phase shift and comb filtering are everywhere. In a typical room you are usually listening to several hundred delayed versions of original signals all the time, and every time you shift your head by a couple of inches, you are into big-time acoustical phase shifting and comb filtering. But you don’t really hear them, even though they are predominant in the environment. If you don’t believe me, run down to your local Radio Shack, pick up their $35 Sound Level Meter (one of the great audio bargains of our century and a necessity for every truly cool recording engineer), run back to your studio, put up a 2 KHz. sine wave in the monitors, stand back in the room and start observing the levels on the Sound Level Meter. As you slowly move the meter around, the levels will swing wildly across the range of the meter. These varying levels are due to the constructive and destructive interference patterns caused by changing phase shift between the direct signal and all the reflected paths as the meter’s location changes. But when you move your head around, you may hear a little change in level, but hardly any sense of phase shift at all -- certainly not like negative killer flange or other bozo effects so dear to us all.

The truth is that our magnificent hearing system doesn’t present the state of phase of sound waves to our conscious mind. It detects phase all right, but uses it to help with localization instead of timbre. We use all that phase shift data to localize sounds in space, but we don’t consciously detect it as a sound quality.

Except when it all comes from the same point in space.

I’ve talked about this in other articles, but it is worth going over again. When you sum two signals electrically, they become one signal, acoustically speaking. When we radiate that combined signal into the room, our ears detect it as the source and detect all the room reflections (which come from other directions) as delayed versions. But if that complex mixed signal has phase shifting or comb filtering going on, it affects the frequency response (and timbre) of the original source and we hear it, big time.

So what does it all mean? How can you use this all for fun and profit? A couple of things:
  • The comb filtering that occurs in rooms as a result of reflected sounds in the room is pretty benign stuff. It helps you localize sound sources and figure out the room. It usually doesn’t affect the perceived timbre of the sound coming from the loudspeaker very much. Only after you’ve got most of the other acoustic issues under control will you want to worry about the effect of comb filtering between loudspeakers and reflections in your mixing room.
  • Phase shift is one of the three fundamental attributes of sound waves (the others are frequency and amplitude). It is a time-based phenomenon that is at the root of comb-filtering and our ability to localize sound sources in rooms.
  • The term “180° out-of-phase” is a misnomer for all sounds except sine waves. Mostly we mean “out-of-polarity” instead. Polarity reversal is unrelated to time. Interesting, the high-tech item here is polarity reversal (“PolRev,” for short). Phase shift occurs all the time in non-technological nature, but the manipulation of polarity of a sound (in either the acoustical or electronic realms) exists only in high-tech items such as loudspeakers (acoustically) and audio circuits (electronically). The audio problems pertaining to comb-filtering and polarity reversal are due to these technological developments and the fact that our hearing mechanism didn’t evolve in preparation for such high-tech oddities as stereophonic sound.
  • Getting your speakers in polarity is essential. This includes getting each driver in a speaker system in polarity with its equivalent driver in the other system in the pair.
  • Keeping track of polarity in your microphones, mic cables, console(s) and other audio gear is essential. This isn’t too big a problem with unbalanced semi-pro stuff, but balanced lines (which normally use XLR connectors) can easily and inadvertently be wired out of polarity. Always make sure that pin two is wired to pin two, etc.
  • When checking the monaural quality of a stereo mix, comb filtering that wasn’t at all apparent in stereo may show up big time. Have an ear out for it, and if you hear it, you may have serious phase shift and/or polarity problems to fix, as well as possibly some polarity problems. How you actually fix them may be as easy as flipping the polarity button on a module on your console, or it may involve microphone or other adjustments that are well beyond the scope of this article.
In summary, this is one of those bedrock topics that isn’t particularly obvious when you start trying to record your music. What makes it particularly tricky is that it’s only audible some of the time, so you have to listen sharp. Even when you can’t hear it, it can still cause problems in your recording. On the plus side, comb filtering, phase shift and polarity reversal are all phenomena that can really help you easily and professionally solve a variety of audio problems, particularly stereo audio problems, once you get a handle on how to work with them. It’s worth spending the time thinking about, experimenting with and listening to them. Then you too can use them for fun and profit!

Dave Moulton is Chairman of Music Production and Engineering at Berklee College of Music in Boston. Alex Case is a student there. Peter Alhadeff teaches math there.
< 1 2
Members
Login | Register
Mailing List