Key Signatures

In musical notation, a key signature is a set of sharp or flat symbols placed together on the staff. Key signatures are generally written immediately after the clef at the beginning of a line of musical notation, although they can appear in other parts of a score, notably after a double barline.

A key signature designates notes that are to be played higher or lower than the corresponding natural notes and applies through to the end of the piece or up to the next key signature. A sharp symbol on a line or space in the key signature raises the notes on that line or space one semitone above the natural, and a flat lowers such notes one semitone. Further, a symbol in the key signature affects all the notes of one letter: for instance, a sharp on the top line of the treble staff applies to Fs not only on that line, but also to Fs in the bottom space of the staff, and to any other Fs. This convention was not universal until the late Baroque/early Classical period, however; music published in the 1720s and 30s, for example, uses key signatures showing sharps or flats on both octaves for notes which fall within the staff.

An accidental is an exception to the key signature, applying only in the measure in which it appears. (In early music, accidentals do not apply for the entire measure in which they appear; they affect only the note before which they are written.)

Although a key signature may be written using any combination of sharp and flat symbols, about a dozen diatonic key signatures are by far the most common, and their use is assumed in much of this article. A piece scored using a single diatonic key signature and no accidentals contains notes of at most seven of the twelvepitch classes, which seven being determined by the particular key signature.

Each major and minor key has an associated key signature that sharpens or flattens the notes which are used in its scale. However, it is not uncommon for a piece to be written with a key signature that does not match its key, for example, in some Baroque pieces, or in transcriptions of traditional modal folk tunes.

In music theory, the circle of fifths (or circle of fourths) is a visual representation of the relationships among the 12 tones of the chromatic scale, their corresponding key signatures, and the associated major and minor keys. More specifically, it is a geometrical representation of relationships among the 12 pitch classes of the chromatic scale in pitch class space.

The term 'fifth' defines an interval or mathematical ratio which is the closest and most consonant non-octave interval. The circle of fifths is a sequence of pitches or key tonalities, represented as a circle, in which the next pitch is found seven semitones higher than the last. Musicians and composers use the circle of fifths to understand and describe the musical relationships among some selection of those pitches. The circle's design is helpful in composing and harmonizing melodies, building chords, and modulating to different keys within a composition.

At the top of the circle, the key of C Major has no sharps or flats. Starting from the apex and proceeding clockwise by ascending fifths, the key of G has one sharp, the key of D has 2 sharps, and so on. Similarly, proceeding counterclockwise from the apex by descending fifths, the key of F has one flat, the key of Bâ™­ has 2 flats, and so on. At the bottom of the circle, the sharp and flat keys overlap, showing pairs of enharmonic key signatures.

Starting at any pitch, ascending by the interval of an equal tempered fifth, one passes all twelve tones clockwise, to return to the beginning pitch class. To pass the twelve tones counterclockwise, it is necessary to ascend by perfect fourths, rather than fifths. (To the ear, the sequence of fourths gives an impression of settling, or resolution.