# Understanding the difference between pitch and frequency One thing that desktop musicians often struggle with is the distinction between creative and technical terms. An example is the musical term pitch as opposed to the scientific term frequency. Though they both describe the same thing, they aren't quite synonymous. Here's a look at the differences between the two.

One key distinction between these terms is that pitch is relative (a matter of common agreement among musicians), while frequency is absolute (a precise, unambiguous measurement). Both describe how often air-pressure levels, or changes in the air's molecular density, repeat. Nature's simplest form of repeating change is called simple harmonic motion. For our purposes, this refers to changes in air pressure that can be represented by a sine wave.

An example of a scientific description of pressure levels changing at a certain rate could be “The frequency of the oscillation is 440 cycles per second” (or 440 Hz). But a musical description would refer to pitch; for example, “That's an A above middle C.”

Both of these statements are correct, but the scientific description is precise and unwavering; the frequency is exactly 440 Hz - not 440.1, not 441, not 439. The musical description, on the other hand, refers to a flexible convention. The pitch of A could be assigned to any frequency we choose. Some orchestras tune a little sharp, for example, to an A of 442 or 444, to give their sound a little extra bite. Any frequency will do, as long as musicians playing together agree on a common reference. In the Middle Ages, when people lived in isolated communities, tuning could vary widely from place to place: a famous table made in 1862 comparing European church bells reported frequencies of A ranging from 370 Hz to 567.3 Hz.

Though pitch and frequency are not equivalent, they are correlated. This means that as one goes up, the other does as well. A higher frequency produces a higher pitch, and a lower frequency produces a lower pitch.

Another distinction between the two is that frequency describes a physical phenomenon, while pitch describes a perceptual phenomenon. Physically speaking, objects have a natural tendency to vibrate at certain frequencies, which are called their characteristic frequencies. Say you have a tuning fork that vibrates at 100 Hz when struck. This fork is “inclined” to vibrate at that frequency, which is called the fundamental frequency, as well as at any harmonic of the fundamental. (A harmonic is a vibration whose frequency is an integer multiple of the fundamental's, which in this case would be 200 Hz, 300 Hz, 400 Hz, and so on.) Just how strong is this inclination? Expose the fork to one of its characteristic frequencies being sung or being played by an instrument or a synthesizer. As the air-pressure levels around the fork change at one of these frequencies, the fork begins to move in tandem. This physical phenomenon is called sympathetic vibration or resonance (for more on this subject, see “Square One: Standing Tall” in the January 2005 issue of EM).

Perceptually speaking, how does the human auditory system interpret these vibrations? Our musical understanding is based on the perceptual phenomenon of pitch class. A pitch class is the entire superset of all instances of a certain note, regardless of what octave they are in. And all members of any given class retain a certain identity regardless of register. To prove this, try playing a well-known tune like “Happy Birthday” on a piano. Randomly transpose different notes by an octave (or two or three or four) in either direction. The melody remains familiar and intact, even though the register jumps around.

We hear a change of an octave when a given frequency is doubled or halved. This means that the frequency range spanned by an octave depends on the specific frequencies in question. The span from 100 Hz to 200 Hz is smaller than the span from 800 Hz to 1,600 Hz, but to our ears, the pitch distance sounds equivalent: an octave has been traversed.

Thus, we perceive pitch relationships based on fixed ratios, rather than fixed spans of cycles per second. For two frequencies to sound an octave apart, they must have a ratio of 2:1. Other intervals have different ratios. A ratio of 3:2 produces a perfect fifth (for example, 300 Hz and 200 Hz, or 900 Hz and 600 Hz). A ratio of 4:3 produces a perfect fourth. To create a pitch that is a perfect fourth from any frequency, multiply that frequency by 4/3; to go down a perfect fourth, multiply by the inverse, or ¾.

Like other objects, musical instruments tend to vibrate at multiple harmonic frequencies simultaneously, rather than at just one harmonic frequency. What does that mean perceptually? As stated earlier, harmonics are whole-number multiples of an object's fundamental vibration, but pitch class is determined by equal frequency ratios. This means that not all harmonics are of the same pitch class. Fig. 2 shows the pitches that are produced by the first 16 harmonics of a low C.

People who learn a technique called analytic listening can hear individual harmonics as separate pitches, but the vast majority of us hear a single pitch, typically determined by the fundamental frequency. The presence or absence of frequencies above (and in some cases, below) the fundamental gives the sound its tone colour or timbre.

An example of a real-world application in which the relationship of frequency and pitch is a factor can be seen with bandpass filters. They allow a certain band or range of frequencies to pass, limiting all others. A typical bandpass filter has three adjustable parameters. The first is called a centre frequency, which is the frequency that passes through the filter at the highest power levels the filter will allow. The spectrum output by the filter is usually symmetrical in shape, with the power levels decreasing above and below the centre frequency (for more on spectra and power levels, see “Square One: You've Got the Power” in the September 2004 EM).

The second parameter is bandwidth, and the third is Q or quality. The difference between the two is similar to the difference between frequency and pitch. Bandwidth is absolute and is the difference in hertz between the frequencies above and those below the centre frequency that is attenuated by 3 dB. Q is relative because it deals with two frequency values: centre frequency divided by bandwidth. For example, if the centre frequency is 1,000 Hz, and the power levels at 900 Hz and 1,100 Hz have dropped by 3 dB, the bandwidth is 200 Hz and the Q is 1,000/200, or 5.

As described previously, we perceive pitch according to ratios. So when working with bandpass filters, it is often more useful to work with Q, a ratio, than with bandwidth, an absolute. For example, 100 Hz above and below 700 Hz (a Q value of 700/200) represents a much wider pitch interval than 100 Hz above and below 7,000 Hz (a Q value of 7,000/200), because of the differences in the ratios.

A constant Q filter keeps things relative by adjusting the bandwidth depending on the centre frequency. This ensures that the pitch range spanned by the bandwidth remains constant as the centre frequency changes. For example, setting a fixed Q of 5 means that at a centre frequency of 100 Hz, the bandwidth becomes 20 Hz; at a centre frequency of 500 Hz, the bandwidth will be 100 Hz, and so on.

Making sense of music often involves understanding the interplay between science and our perception of physical phenomena. And the difference between frequency and pitch is just one such example.