Note (music)

In music, a note is an abstract representation of the pitch and duration of a tone. The pitch designated by a note is objective only in the case of a simple tone (also called a pure tone) such as produced by a tuning fork, which consists of only a single frequency of vibration, in which case the pitch is uniquely related to that frequency at a given loudness.

A musical instrument on the other hand, produces a tone, which is a superposition of various frequencies with various amplitudes and phases peculiar to the instrument, and also affected by the manner of play that determines the sound envelope of the note (referred to by Lamb below as "adventitious circumstances").

Pitch is one of several perceived attributes of a tone. A laboratory determination of pitch is made by a subject listening to a tone from a musical instrument and to a simple tone, such as that produced by a tuning fork, and identifying circumstances where the instrument and the simple tone sound alike. As a result, for other than simple tones, pitch is not a purely objective physical property; it is a subjective psychoacoustical attribute of a sound.

To quote Lamb:
 * One musical note may differ from another in respect of pitch, quality, and loudness. The pitch is usually estimated as that of the first simple-harmonic vibration in the series, viz. that of lowest frequency, but if the amplitude of this first component be relatively small, and especially if it fall near the lower limit of the audible scale, the estimated pitch may be that of the second component.
 * By "quality" is meant that unmistakable character which distinguishes a note on one instrument from the note of same pitch as given by another...difference of quality, so far as it is not due to adventitious circumstances,† can only be ascribed to differences of vibration-form, and so to differences in the relative amplitude and phases of the simple-harmonic constituents.
 * †Such as the manner in which the sound sets in and ceases; this is different for instance in the violin and the piano.

What Lamb refers to as "quality" of a note also is referred to as the timbre of a tone, that is, the subjective perceived quality of a tone that distinguishes different voices. The tone itself is objectively described by the measured frequency and phase of each constituent of its vibrational spectrum.

Tuning
Western music is based upon twelve pitches, while Arabic-Persian music uses twenty-four. Originally, the separation of pure tones corresponding to these pitches in Western music was governed by frequency ratios involving small integers like 2:1 (octave), 3:2 (fifth), and so forth, culminating in the 16th century with the so-called mean-tone temperament. However, from about the time of Johann Sebastian Bach, this variable separation slowly was replaced by the equal temperament in which the ratio of the frequencies of pure tones corresponding to successive notes is the twelfth root of 2. Each step in pitch is called a semitone or half tone. This approach allows smooth and rapid changes of musical key, and a melody sounds as though it uses the same intervals regardless of the note it begins with. The switch to equal temperament met with resistance when it was introduced, because it sounded inharmonious to listeners of the older system.

From a physics standpoint, equal temperament is a compromise forced upon us by keyboard instruments that do not have the flexibility in pitch selection available to a violin, trombone, or to a singer. The figure at left compares the notes using an even-tempered tuning closest in frequency to the harmonics (overtones) of the note C2. It can be seen that some higher frequency overtones are not matched closely by an even-tempered note. For example, the 11'th harmonic of C2 (the overtone at 11 times the frequency of C2) sits midway between F5 and G5 ♭ .

From a performance standpoint, music written for mean-tone temperament (as reintroduced by the early music movement, for example) sounds quite different than when played using instruments tuned using equal temperament.

Pitch
In Western musical notation, the pitch of a sound is indicated by the vertical position of the symbol for the note on a staff or stave, an array of parallel leger lines (from the French leger=light), as shown in the figure. Certain lines on the staff are identified by clefs. For example, in the figure the upper clef is called the treble or G-clef, and the lower clef is called the bass or F-clef.

The names of the notes correspond to the first seven letters of the alphabet, applied to both lines and spaces. The labeling associated with the lines on the staff is indicated, and the labels for the spaces follow alphabetically. Men's voices are considered to range from lower G on the bass staff (the bottom five lines), through the next G in the tenor staff, to to the third G in the in the alto staff. Women's and boy's voices range an octave higher, running up to the next G in the treble staff. See Jones, §24, p.9. For voice exercises, the first note C on the so-called natural scale or scale of C is called doh and the notes of the first octave are named by the syllables doh (do), ray (re), me (mi), fah (fa), soh (sol), lah (la), te (ti), doh (do).

Pure tones separated by an octave on the staff (that is, a combination of eight lines and spaces on the staff) are a factor of two different in frequency. The pitch denoted by a position on the staff is set by the key of the musical piece, indicated by a key signature. The key determines how many steps in pitch, or semitones, separate each of the notes within an octave. For example, indicating the number of semitones in parentheses, the C-major key is in the form C-D(2), D-E(2), E-F(1), F-G(2), G-A(2), A-B(2), B-C(1). The pattern repeats in each octave. The key signature is a series of sharp or flat symbols placed on the staff, designating notes that must be played one semitone higher or lower than the equivalent natural notes of the unmarked staff in order to realize the key. Particular chords (notes played together) are associated with each key.

On the twelve semitone scale, also called the chromatic scale, and which corresponds with the keys of the grand piano, a pitch between C and D, say, is called C-sharp (denoted C♯) and is a semitone above C, or labeled D-flat (denoted D♭), a semitone below D. A complete cycle of notes on this scale is A, (A♯, B♭), B, C, (C♯, D♭), D, (D♯, E♭), F, (F♯, G♭), G, (G♯, A♭), A, and so on.

The left-to-right position of the notes on the staff indicate the order in which they are played, the later notes further to the right, with notes directly above one another played simultaneously.

Duration
Duration of a note is indicated by its symbol. Examples are shown in the figure, with the longest or whole note at the bottom, and the two half notes above it that combine to the same duration. The quarter note, eighth notes and sixteenth notes are successively stacked above.

The relative duration of a whole note is established by dividing the horizontal length of the staff into measures, bounded by vertical bars, and a time signature that determines how many "beats" occur in a measure, and which note corresponds to a beat. For example, a ¾ time signature means three beats to a measure and a quarter note gets one beat, a half-note two beats, a whole note four beats, and so forth. Musical notation does not assign absolute duration to a beat. Tempo indications, like presto and allegro, provide further guidance for pace.

Loudness
Loudness in musical notation is indicated by written dynamic markings:

An increase in loudness is indicated as crescendo, a decrease as decrescendo or diminuendo. Indication of one note louder than another is indicated by accents.
 * ƒƒƒ&emsp; ||fortississimo or forte fortissimo ||extremely loud
 * ƒƒ ||fortissimo ||very loud
 * ƒ ||forte ||loud
 * mƒ ||mezzo forte ||medium loud
 * mp ||mezzo piano ||medium soft
 * p ||piano ||soft
 * pp ||pianissimo ||very soft
 * ppp ||pianississimo or piano pianissimo&emsp;&emsp; ||extremely soft
 * }
 * p ||piano ||soft
 * pp ||pianissimo ||very soft
 * ppp ||pianississimo or piano pianissimo&emsp;&emsp; ||extremely soft
 * }
 * ppp ||pianississimo or piano pianissimo&emsp;&emsp; ||extremely soft
 * }
 * }

Digital representation of notes
There are various schemes for encoding music in a digital format. An early version, and perhaps most widespread, is the Musical Instrument Digital Interface or MIDI. A later and more complete scheme is Csound. Next, some detail is supplied about MIDI.

A MIDI file is the digital equivalent of sheet music, but goes much farther in detailing many aspects of play. In this system, each note is assigned a numeric value with A4 (440 Hz; the A above middle C) given the number 69. The general formula for finding the frequency f of the pure tone associated with the pitch corresponding to a MIDI number n (an integer between 1 and 128 = 27) is:


 * $$f=440 \times 2^\left((n-69)/12\right) \, $$

which means notes with adjacent MIDI numbers have frequencies in the ratio of 2 1/12, corresponding to tuning using the equal temperament mentioned earlier. The above formula inverts to provide MIDI pitch number as:
 * $$n=12\log_2 \left(\frac{f}{440}\right)+69 \, $$

which is meaningful only for frequencies resulting in integer values of n in the range 1 - 128. Here log2 is the logarithm of its argument to the base 2. With these formulas, middle C with MIDI number 60 (C4) is assigned the frequency  261.6256... Hz.

There are 128 = 27 numbers available for digital assignment, many more than the 88 keys of a piano, so many more pitches are possible. The grand piano keyboard (including sharps and flats) corresponds to MIDI numbers 21 - 108 or 27.5 Hz - 4,186 Hz, and the MIDI pitch numbers are shown for the A’s of the grand-piano keyboard in the figure in the Introduction.

The MIDI protocol sends messages that include aspects of pitch, timbre, and timing that allow a music synthesizer to imitate a piece of music played upon one instrument, or even several different instruments, in a predictable fashion. Instructions designated Note-On and Note-Off specify the duration, loudness and pitch of a note. The timbre of a tone is selected by a MIDI Program Change message, consisting of a status byte and a data byte. The data byte identifies a patch number, for example, patch 20 may be a church organ and 106 a banjo on MIDI-compatible synthesizers. Not all synthesizers, however, will associate the same patch number with the same instrument. Control change or CC messages varying with the synthesizer select a particular bank of patches stored in the synthesizer, with each bank containing up to 128 patches.

The MIDI protocol also includes coding to control an envelope generator, usually a part of the synthesizer. In particular, the MIDI protocol includes specific CC messages that specify the attack and release time constants (rise time and fall time) of the sound envelope shown above.