# Introduction to Phase

## What is Phase?

An important characteristic of a sound wave is the phase. Phase specifies the location of a point within a wave cycle of a repetitive waveform. For most purposes, the phase differences between sound waves are important, rather than the actual phases of the signals. When two sound waves combine, for example, the difference between the phases of the two waves is important in determining the resulting waveform.

The phase difference between two sound waves of the same frequency moving past a fixed location is given by the time difference between the same positions within the wave cycles of the two sounds (the peaks or positive-going zero crossings, for example), expressed as a fraction of one wave cycle.

Two sound waves of the same frequency that are perfectly aligned have a phase difference of 0 and are said to be “in phase.” Two waves that are in phase add to produce a sound wave with an amplitude equal to the sum of the amplitudes of the two waves.

If one of the two sound waves of the same frequency is shifted by one-half cycle relative to the other, the sound waves are said to be “out of phase.” Two waves that are out of phase exactly cancel each other when added together. This principal is used in noise-cancelling headphones.

The time or phase difference is normally expressed as an angle, however, rather than as a fractional wave cycle. The phase difference is expressed as an angle because the waveform of a pure tone consisting of a single frequency can be described using the trigonometric sine function (which is why it is called a sine wave):

*y*(*t*) = A • sin(2 π *f t*)

where *y*(*t*) is the waveform, A is the amplitude, *f* is the frequency (Hertz or cycles/second), and *t* is time (seconds). In this equation the argument of the sine function (2 π *f t*) is an angle expressed in radians, with π=3.14159… The sine wave is periodic, consisting of wave cycles that repeat, as shown in the following figure.

The values of sin(2 π*ft*) as a function of time over one full cycle are:

The locations on a wave cycle can therefore be specified as an angle in either radians or degrees, as well as in fractions of a cycle. This can be visualized with a rotating wheel and a spoke tracing the sine wave.

Most sounds are much more complex than a single frequency, but instead consist of many different sine waves at different frequencies. When more than one sine wave combines to create a sound, the waveforms of all the sine waves are added together at each location along the waveform.

Hydrophone arrays use the differences in the phases of signals received at two or more receivers at different positions to determine the location of the source of the signals. This is called beamforming. Projector arrays use the difference in the phases of signals transmitted by two or more projectors to control the direction in which the sound is most intense. Vector sensors use a similar principle.

Additional Links on DOSITS

### Additional Resources

- Wikipedia: Sine Wave
- Wikipedia: Phase (waves)
- Indiana University, Introduction to Computer Music, What is Phase?
- HyperPhysics – Phase