Physics of music
Variations in air pressure against the ear drum, and the subsequent physical and neurological processing and interpretation, give rise to the experience called "sound". Most sound that people recognize as "musical" is dominated by periodic or regular vibrations rather than non-periodic ones (called a definite pitch), and we refer to the transmission mechanism as a "sound wave". In a very simple case, the sound of a sine wave, which is considered to be the most basic model of a sound waveform, causes the air pressure to increase and decrease in a regular fashion, and is heard as a very "pure" tone. Pure tones can be produced by tuning forks. The rate at which the air pressure varies governs the frequency of the tone, which is also measured in oscillations per second, or Hertz. Frequency is a primary determinate of the perceived pitch.
Whenever two different pitches are played at the same time, their sound waves interact with each other - the highs and lows in the air pressure reinforce each other to produce a different sound wave. As a result, any given sound wave which is more complicated than a sine wave can, nonetheless, be modelled by many different sine waves of the appropriate frequencies and amplitudes. In humans the hearing apparatus (composed of the ears and brain) can isolate these tones and hear them distinctly. When two or more tones are played at once, a single variation of air pressure at the ear "contains" the pitches of each, and the ear and/or brain isolate and decode them into distinct tones.
When the original sound sources are perfectly periodic, the note consists of several related sine waves (which mathematically add to each other) called the fundamental and the harmonics, partials, or overtones. The sounds have harmonic spectra. The lowest frequency present is the fundamental, and is the frequency that the entire wave vibrates at. The overtones vibrate faster than the fundamental, but must vibrate at integer multiples of the fundamental frequency in order for the total wave to be exactly the same each cycle. Real instruments are close to periodic, but the frequencies of the overtones are slightly imperfect, so the shape of the wave changes slightly over time.
Harmonics, partials, and overtones
The fundamental is the frequency at which the entire wave vibrates. Overtones are other sinusoidal components present at frequencies above the fundamental. All of the frequency components that make up the total waveform, including the fundamental and the overtones, are called partials.
Overtones which are perfect integer multiples of the fundamental are called harmonics. When an overtone is near to being harmonic, but not exact, it is sometimes called a harmonic partial, although they are often referred to simply as harmonics. Sometimes overtones are created that are not anywhere near a harmonic, and are just called partials or inharmonic overtones.
The fundamental frequency is considered the first harmonic and the first partial. The numbering of the partials and harmonics is then usually the same; the second partial is the second harmonic, etc. But if there are inharmonic partials, the numbering no longer coincides. Overtones are numbered as they appear above the fundamental. So strictly speaking, the first overtone is the second partial (and usually the second harmonic). As this can result in confusion, only harmonics are usually referred to by their numbers, and overtones and partials are described by their relationships to those harmonics.
Harmonics and non-linearities
A symmetric and asymmetric waveform. The red contains only the fundamental and odd harmonics, the green contains the fundamental and even harmonics.
200 and 300 Hz waves and their sum, showing the periods of each
A spectrogram of a violin playing a note and then a perfect fifth above it. The shared partials are highlighted by the white dashes.
When a periodic wave is composed of a fundamental and only odd harmonics (f, 3f, 5f, 7f, ...), the summed wave is symmetrical; it can be inverted and phase shifted and be exactly the same. If the wave has any even harmonics (0f, 2f, 4f, 6f, ...), it will be asymmetrical; the top half will not be a mirror image of the bottom.
The opposite is also true. A system which changes the shape of the wave (beyond simple scaling or shifting) creates additional harmonics. This is called a non-linear system. If it affects the wave symmetrically, the harmonics produced will only be odd, if asymmetrically, at least one even harmonic will be produced (and possibly also odd).
If two notes are simultaneously played, with frequency ratios that are simple fractions (e.g. 2/1, 3/2 or 5/4), then the composite wave will still be periodic with a short period, and the combination will sound consonant. For instance, a note vibrating at 200 Hz and a note vibrating at 300 Hz (a perfect fifth, or 3/2 ratio, above 200 Hz) will add together to make a wave that repeats at 100 Hz: every 1/100 of a second, the 300 Hz wave will repeat thrice and the 200 Hz wave will repeat twice. Note that the total wave repeats at 100 Hz, but there is not actually a 100 Hz sinusoidal component present.
Additionally, the two notes will have many of the same partials. For instance, a note with a fundamental frequency of 200 Hz will have harmonics at
(200,) 400, 600, 800, 1000, 1200, ...
A note with fundamental frequency of 300 Hz will have harmonics at
(300,) 600, 900, 1200, 1500, …
The two notes have the harmonics 600 and 1200 in common, and more will coincide further up the series.
The combination of composite waves with short fundamental frequencies and shared or closely related partials is what causes the sensation of harmony.
When two frequencies are near to a simple fraction, but not exact, the composite wave cycles slowly enough to hear the cancellation of the waves as a steady pulsing instead of a tone. This is called beating, and is considered to be unpleasant, or dissonant
The frequency of beating is calculated as the difference between the frequencies of the two notes. For the example above, |200 Hz - 300 Hz| = 100 Hz. As another example, a combination of 3425 Hz and 3426 Hz would beat once per second (|3425 Hz - 3426 Hz| = 1 Hz). This follows from modulation theory.
The difference between consonance and dissonance is not clearly defined, but the higher the beat frequency, the more likely the interval to be consonant. Helmholtz proposed that maximum dissonance would arise between two pure tones when the beat rate is roughly 35 Hz 1.
The natural scale
Human beings distinguish sounds on the basis of their frequency. Actually what really matters is the ratio between their frequencies.
The natural scale is attributed to the Grecian philosopher Aristoxenus Tarentinus and consists in a succession of notes with increasing frequencies.
After fixing the frequency of the first note - the C of the scale -, the frequencies of the other notes are determined from the rations indicated in the following table. On the last C the following octave begins and the operation can be repeated.
The following table shows the ratios between the frequencies of all the notes of the scale and the fixed frequency of the first note of the scale.
The temperate scale
In the natural scale the ratio of the frequencies of two notes which differ for one tone is not always the same. Consequently a certain melody cannot be played starting from a random note of the scale. For instance, a melody starting with the two notes C and D (ratio 9/8) cannot be transposed one tone higher, since the ratio of the frequencies of E and of D is very near ((5/4)/(9/8) = 10/9), but not equal to 9/8.
To obviate this inconveniency, we use the so-called temperate scale, which constitutes the compromise adopted in the western music.
It is obtained by dividing one octave in 12 intervals, called semitones or halfsteps, so that the ratio of the frequencies of two consecutives semitones is constant and equal to , whose numeric value is 1.059463.
The following table shows a comparison between the natural scale and the temperate scale:
|Temperate Scale||Natural Scale|
|C# / Db||21/12||1.059|
|D# / Eb||23/12||1.189|
|F# / Gb||26/12||1.414|
|G# / Ab||28/12||1.587|
|A# / Bb||210/12||1.782|
- Music Acoustics by User:Alberto_Orlandini
- University of Maryland Physics of Music course has many useful links and illustrations.