In
music theory
Music theory is the study of the practices and possibilities of music. ''The Oxford Companion to Music'' describes three interrelated uses of the term "music theory". The first is the "rudiments", that are needed to understand music notation (ke ...
, the key of a piece is the group of pitches, or
scale
Scale or scales may refer to:
Mathematics
* Scale (descriptive set theory), an object defined on a set of points
* Scale (ratio), the ratio of a linear dimension of a model to the corresponding dimension of the original
* Scale factor, a number ...
, that forms the basis of a
musical composition
Musical composition can refer to an original piece or work of music, either vocal or instrumental, the structure of a musical piece or to the process of creating or writing a new piece of music. People who create new compositions are called ...
in
classical, Western art, and Western pop music.
The group features a ''
tonic note'' and its corresponding ''
chords'', also called a ''tonic'' or ''tonic chord'', which provides a subjective sense of arrival and rest, and also has a unique relationship to the other pitches of the same group, their corresponding chords, and pitches and chords outside the group. Notes and chords other than the tonic in a piece create varying degrees of tension,
resolved when the tonic note or chord returns.
The key may be in the
major or minor mode, though musicians assume major when this is not specified, e.g., "This piece is in C" implies that the key of the song is C major.
Popular songs
Popular music is music with wide appeal that is typically distributed to large audiences through the music industry. These forms and styles can be enjoyed and performed by people with little or no musical training.Popular Music. (2015). ''Funk ...
are usually in a key, and so is classical music during the
common practice period, around 1650–1900. Longer pieces in the classical repertoire may have sections in
contrasting key
Contrast may refer to:
Science
* Contrast (vision), the contradiction in form, colour and light between parts of an image
* Contrast (statistics), a combination of averages whose coefficients add up to zero, or the difference between two means
* ...
s.
Overview
Methods that establish the key for a particular piece can be complicated to explain and vary over music history. However, the chords most often used in a piece in a particular key are those that contain the notes in the corresponding
scale
Scale or scales may refer to:
Mathematics
* Scale (descriptive set theory), an object defined on a set of points
* Scale (ratio), the ratio of a linear dimension of a model to the corresponding dimension of the original
* Scale factor, a number ...
, and conventional
progressions of these chords, particularly
cadences, orient the listener around the tonic.
The
key signature is not always a reliable guide to the key of a written piece. It does not discriminate between a major key and its
relative
Relative may refer to:
General use
*Kinship and family, the principle binding the most basic social units society. If two people are connected by circumstances of birth, they are said to be ''relatives''
Philosophy
*Relativism, the concept that ...
minor; the piece may
modulate to a different key; if the modulation is brief, it may not involve a change of key signature, being indicated instead with
accidentals
In music, an accidental is a note of a pitch (or pitch class) that is not a member of the scale or mode indicated by the most recently applied key signature. In musical notation, the sharp (), flat (), and natural () symbols, among others, ma ...
. Occasionally, a piece in a
mode such as
Mixolydian or
Dorian
Dorian may refer to:
Ancient Greece
* Dorians, one of the main ethnic divisions of ancient Greeks
* Doric Greek, or Dorian, the dialect spoken by the Dorians
Art and entertainment Films
* ''Dorian'' (film), the Canadian title of the 2004 film ' ...
is written with a major or minor key signature appropriate to the tonic, and accidentals throughout the piece.
Pieces in modes not corresponding to major or minor keys may sometimes be referred to as being in the key of the tonic. A piece using some other type of
harmony
In music, harmony is the process by which individual sounds are joined together or composed into whole units or compositions. Often, the term harmony refers to simultaneously occurring frequencies, pitches ( tones, notes), or chords. However ...
, resolving e.g. to A, might be described as "in A" to indicate that A is the
tonal center of the piece.
An instrument is "in a key", an unrelated usage that means the pitches considered "natural" for that instrument. For example, modern
trumpets are usually in the key of B, since the notes produced without using the valves correspond to the
harmonic series whose fundamental pitch is B. (Such instruments are called ''
transposing'' when their written notes differ from
concert pitch.)
A key relationship is the relationship between keys, measured by
common tone and nearness on the
circle of fifths. See
closely related key.
Keys and tonality

The key usually identifies the
tonic note and/or chord: the note and/or
major
Major (commandant in certain jurisdictions) is a military rank of commissioned officer status, with corresponding ranks existing in many military forces throughout the world. When used unhyphenated and in conjunction with no other indicators ...
or
minor
Minor may refer to:
* Minor (law), a person under the age of certain legal activities.
** A person who has not reached the age of majority
* Academic minor, a secondary field of study in undergraduate education
Music theory
*Minor chord
** Barb ...
triad
Triad or triade may refer to:
* a group of three
Businesses and organisations
* Triad (American fraternities), certain historic groupings of seminal college fraternities in North America
* Triad (organized crime), a Chinese transnational orga ...
that represents the final point of rest for a piece, or the focal point of a section. Though the key of a piece may be named in the title (e.g., Symphony in C major), or inferred from the
key signature, the establishment of key is brought about via
functional harmony
In music, function (also referred to as harmonic function) is a term used to denote the relationship of a chord"Function", unsigned article, ''Grove Music Online'', . or a scale degree to a tonal centre. Two main theories of tonal functions ex ...
, a sequence of chords leading to one or more
cadences, and/or melodic motion (such as movement from the leading-tone to the tonic). For example, the key of G includes the following pitches: G, A, B, C, D, E, and F; and its corresponding tonic chord is G—B—D. Most often at the beginning and end of traditional pieces during the common practice period, the tonic, sometimes with its corresponding tonic chord, begins and ends a piece in a designated key. A key may be major or minor. Music can be described as being in the
Dorian mode, or
Phrygian, etc., and is thus usually thought of as in a specific
mode rather than a key. Languages other than English may use other
key naming systems.
People sometimes confuse key with
scale
Scale or scales may refer to:
Mathematics
* Scale (descriptive set theory), an object defined on a set of points
* Scale (ratio), the ratio of a linear dimension of a model to the corresponding dimension of the original
* Scale factor, a number ...
. A ''scale'' is an ordered set of notes typically used in a key, while the ''key'' is the "center of gravity" established by particular
chord progressions.
Cadences are particularly important in the establishment of key. Even cadences that do not include the tonic note or triad, such as ''half cadences'' and ''deceptive cadences'', serve to establish key because those chord sequences imply a unique
diatonic context.
Short pieces may stay in a single key throughout. A typical pattern for a simple
song might be as follows: a
phrase ends with a cadence on the tonic, a second phrase ends with a half cadence, then a final, longer, phrase ends with an authentic cadence on the tonic.
More elaborate pieces may establish the main key, then
modulate to another key, or a series of keys, then back to the original key. In the Baroque it was common to repeat an entire phrase of music, called a
ritornello, in each key once it was established. In Classical
sonata form, the second key was typically marked with a contrasting
theme
Theme or themes may refer to:
* Theme (arts), the unifying subject or idea of the type of visual work
* Theme (Byzantine district), an administrative district in the Byzantine Empire governed by a Strategos
* Theme (computing), a custom graphical ...
. Another key may be treated as a temporary tonic, called
tonicization.
In
common practice period compositions, and most of the Western popular music of the 20th century, pieces always begin and end in the same key, even if (as in some
Romantic-era music) the key is deliberately left ambiguous at first. Some
arrangement
In music, an arrangement is a musical adaptation of an existing composition. Differences from the original composition may include reharmonization, melodic paraphrasing, orchestration, or formal development. Arranging differs from orches ...
s of popular songs, however, modulate sometime during the song (often in a repeat of the final
chorus
Chorus may refer to:
Music
* Chorus (song) or refrain, line or lines that are repeated in music or in verse
* Chorus effect, the perception of similar sounds from multiple sources as a single, richer sound
* Chorus form, song in which all verse ...
) and thus end in a different key. This is an example of
modulation
In electronics and telecommunications, modulation is the process of varying one or more properties of a periodic waveform, called the ''carrier signal'', with a separate signal called the ''modulation signal'' that typically contains informatio ...
.
In
rock
Rock most often refers to:
* Rock (geology), a naturally occurring solid aggregate of minerals or mineraloids
* Rock music, a genre of popular music
Rock or Rocks may also refer to:
Places United Kingdom
* Rock, Caerphilly, a location in Wales ...
and
popular music some pieces change back and forth, or modulate, between two keys. Examples of this include
Fleetwood Mac
Fleetwood Mac are a British-American rock band, formed in London in 1967. Fleetwood Mac were founded by guitarist Peter Green, drummer Mick Fleetwood and guitarist Jeremy Spencer, before bassist John McVie joined the line-up for their epony ...
's "
Dreams" and
The Rolling Stones' "
Under My Thumb". "This phenomenon occurs when a feature that allows multiple interpretations of key (usually a diatonic set as pitch source) is accompanied by other, more precise evidence in support of each possible interpretation (such as the use of one note as the
root of the initiating harmony and persistent use of another note as pitch of melodic resolution and root of the final harmony of each phrase)."
[Ken Stephenson, ''What to Listen for in Rock: A Stylistic Analysis'' (New Haven: Yale University Press, 2002), 48. .]
Instruments in a key
Certain
musical instrument
A musical instrument is a device created or adapted to make musical sounds. In principle, any object that produces sound can be considered a musical instrument—it is through purpose that the object becomes a musical instrument. A person who pl ...
s play in a certain key, or have their music written in a certain key. Instruments that do not play in the key of C are known as
transposing instruments.
[ Kent Wheeler Kennan, ''The Technique of Orchestration'', 2nd edition (Englewood Cliffs, New Jersey: Prentice-Hall, 1970), 1952; .] The most common kind of
clarinet
The clarinet is a musical instrument in the woodwind family. The instrument has a nearly cylindrical bore and a flared bell, and uses a single reed to produce sound.
Clarinets comprise a family of instruments of differing sizes and pitches ...
, for example, is said to play in the key of B. This means that a scale written in C major in
sheet music
Sheet music is a handwritten or printed form of musical notation that uses List of musical symbols, musical symbols to indicate the pitches, rhythms, or chord (music), chords of a song or instrumental Musical composition, musical piece. Like ...
actually sounds as a B major scale when played on the B-flat clarinet—that is, notes sound a
whole tone lower than written. Likewise, the
horn
Horn most often refers to:
*Horn (acoustic), a conical or bell shaped aperture used to guide sound
** Horn (instrument), collective name for tube-shaped wind musical instruments
*Horn (anatomy), a pointed, bony projection on the head of various ...
, normally in the key of F, sounds notes a
perfect fifth
In music theory, a perfect fifth is the Interval (music), musical interval corresponding to a pair of pitch (music), pitches with a frequency ratio of 3:2, or very nearly so.
In classical music from Western culture, a fifth is the interval fro ...
lower than written.
Similarly, some instruments are "built" in a certain key. For example, a
brass instrument
A brass instrument is a musical instrument that produces sound by sympathetic vibration of air in a tubular resonator in sympathy with the vibration of the player's lips. Brass instruments are also called labrosones or labrophones, from Latin a ...
built in B plays a
fundamental note of B, and can play notes in the
harmonic series starting on B without using valves, fingerholes, or slides to alter the length of the vibrating column of air. An instrument built in a certain key often, but not always, uses music written in the same key (see
trombone for an exception). However, some instruments, such as the diatonic
harmonica
The harmonica, also known as a French harp or mouth organ, is a free reed wind instrument used worldwide in many musical genres, notably in blues, American folk music, classical music, jazz, country, and rock. The many types of harmonica inclu ...
and the
harp
The harp is a stringed musical instrument that has a number of individual strings running at an angle to its soundboard; the strings are plucked with the fingers. Harps can be made and played in various ways, standing or sitting, and in orche ...
, are in fact designed to play in only one key at a time:
accidentals
In music, an accidental is a note of a pitch (or pitch class) that is not a member of the scale or mode indicated by the most recently applied key signature. In musical notation, the sharp (), flat (), and natural () symbols, among others, ma ...
are difficult or impossible to play.
The highland bagpipes are built in B major, though the music is written in D major with implied accidentals.
In Western musical composition, the key of a piece has important ramifications for its composition:
*As noted earlier, certain instruments are designed for a certain key, as playing in that key can be physically easier or harder. Thus the choice of key can be an important one when composing for an orchestra, as one must take these elements into consideration.
*In the life of the professional clarinetist, for example, it is common to carry two instruments tuned a semitone apart (B and A) to cope with the needs of composers:
Mozart
Wolfgang Amadeus Mozart (27 January 17565 December 1791), baptised as Joannes Chrysostomus Wolfgangus Theophilus Mozart, was a prolific and influential composer of the Classical period (music), Classical period. Despite his short life, his ra ...
's well-known
clarinet concerto is in A major. To play it on a B instrument is difficult, and to rewrite all the orchestral parts to B major would be an enormous effort. Even so, it is not unheard of for a piece published in B to include notes a semitone (or more) below the range of the common B clarinet. The piece must then be played on a more exotic instrument, or transposed by hand (or at sight) for the slightly larger A clarinet. There are clarinets with an extended range, with a longer bore and additional keys.
*Besides this though, the
timbre of almost any instrument is not exactly the same for all notes played on that instrument. For this reason a piece that might be in the key of C might sound or "feel" somewhat different (besides being in a different pitch) to an observer if it is transposed to the key of A.
*In addition, since many composers often utilized the piano while composing, the key chosen can possibly have an effect over the composing. This is because the physical fingering is different for each key, which may lend itself to choosing to play and thus eventually write certain notes or chord progressions compared to others, or this may be done on purpose to make the fingering more efficient if the final piece is intended for piano.
*In music that does not use
equal temperament
An equal temperament is a musical temperament or tuning system, which approximates just intervals by dividing an octave (or other interval) into equal steps. This means the ratio of the frequencies of any adjacent pair of notes is the same, wh ...
, chords played in different keys are qualitatively different.
Key coloration
Key coloration is the difference between the
intervals of different keys in a single non-equal tempered tuning, and the overall sound and "feel" of the key created by the tuning of its intervals.
Historical irregular
musical temperaments usually have the narrowest
fifths between the
diatonic
Diatonic and chromatic are terms in music theory that are most often used to characterize Scale (music), scales, and are also applied to musical instruments, Interval (music), intervals, Chord (music), chords, Musical note, notes, musical sty ...
notes ("naturals") producing purer
third
Third or 3rd may refer to:
Numbers
* 3rd, the ordinal form of the cardinal number 3
* , a fraction of one third
* Second#Sexagesimal divisions of calendar time and day, 1⁄60 of a ''second'', or 1⁄3600 of a ''minute''
Places
* 3rd Street (d ...
s, and wider fifths among the chromatic notes ("sharps and flats"). Each key then has a slightly different
intonation, hence different keys have distinct characters. Such "key coloration" was an essential part of much eighteenth- and nineteenth-century music and was described in treatises of the period.
For example, in tunings with a
wolf fifth, the key on the lowest note of the fifth sounds dramatically different from other keys (and is often avoided). In
Pythagorean tuning
Pythagorean tuning is a system of musical tuning in which the frequency ratios of all intervals are based on the ratio 3:2.Bruce Benward and Marilyn Nadine Saker (2003). ''Music: In Theory and Practice'', seventh edition, 2 vols. (Boston: Mc ...
on C (C, E+, G: 4, 5, 6), the major triad on C is just while the major triad on E+++ (F) is noticeably out of tune (E+++, A+, C: , 5, 6) due to E+++ (521.44 cents) being a
Pythagorean comma (23.46 cents) larger sharp compared to F.
Music using
equal temperament
An equal temperament is a musical temperament or tuning system, which approximates just intervals by dividing an octave (or other interval) into equal steps. This means the ratio of the frequencies of any adjacent pair of notes is the same, wh ...
lacks key coloration because all keys have the same pattern of intonation, differing only in pitch.
References
Further reading
*Innig, Renate (1970). ''System der Funktionsbezeichnung in den Harmonielehren seit
Hugo Riemann
Karl Wilhelm Julius Hugo Riemann (18 July 1849 – 10 July 1919) was a German musicologist and composer who was among the founders of modern musicology. The leading European music scholar of his time, he was active and influential as both a musi ...
''. Düsseldorf: Gesellschaft zur Förderung der systematischen Musikwissenschaft.
*
Rahn, John (1980). ''Basic Atonal Theory''. New York: Longman; London and Toronto: Prentice Hall International. . Reprinted 1987, New York: Schirmer Books; London: Collier Macmillan.
*
Steblin, Rita (1983). ''A History of Key Characteristics in the 18th and Early 19th Centuries''. UMI Research Press, Ann Arbor.
External links
Christian Schubart's "Affective Key Characteristic"– from various sources.
{{DEFAULTSORT:Key (Music)
Musical tuning
Tonality