Harmony

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 share harmonics at 600 and 1200Hz, 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 dissonant. Helmholtz proposed that maximum dissonance would arise between two pure tones when the beat rate is roughly 35 Hz. In music, a consonance (Latin con-, "with" + sonare, "to sound") is a harmony, chord, or interval considered stable (at rest), as opposed to a dissonance (Latin dis-, "apart" + sonare, "to sound"), which is considered to be unstable (or temporary, transitional). In more general usage, a consonance is a combination of notes that sound pleasant to most people when played at the same time; dissonance is a combination of notes that sound harsh or unpleasant to most people. In electronics and telecommunications, modulation is the process of varying one or more properties of a high-frequency periodic waveform, called the carrier signal, with a modulating signal which typically contains information to be transmitted. This is done in a similar fashion to a musician modulating a tone (a periodic waveform) from a musical instrument by varying its volume, timing and pitch. The three key parameters of a periodic waveform are its amplitude ("volume"), its phase ("timing") and its frequency ("pitch"). Any of these properties can be modified in accordance with a low frequency signal to obtain the modulated signal. Typically a high-frequency sinusoid waveform is used as carrier signal, but a square wave pulse train may also be used. In telecommunications, modulation is the process of conveying a message signal, for example a digital bit stream or an analog audio signal, inside another signal that can be physically transmitted. Modulation of a sine waveform is used to transform a baseband message signal into a passband signal, for example low-frequency audio signal into a radio-frequency signal (RF signal). In radio communications, cable TV systems or the public switched telephone network for instance, electrical signals can only be transferred over a limited passband frequency spectrum, with specific (non-zero) lower and upper cutoff frequencies. Modulating a sine-wave carrier makes it possible to keep the frequency content of the transferred signal as close as possible to the centre frequency (typically the carrier frequency) of the passband. A device that performs modulation is known as a modulator and a device that performs the inverse operation of modulation is known as a demodulator (sometimes detector or demod). A device that can do both operations is a modem (from "modulator–demodulator").