Key signature

{ \magnifyStaff #2 \omit Score.TimeSignature \key bes \major s^"" }
Key signature showing B and E (the key of B major or G minor)
{ \magnifyStaff #2 \omit Score.TimeSignature \key d \major s^"" }
Key signature showing F and C (the key of D major or B minor)

In Western musical notation, a key signature is a set of sharp (), flat (), or rarely, natural () symbols placed on the staff at the beginning of a section of music. The initial key signature in a piece is placed immediately after the clef at the beginning of the first line. If the piece contains a section in a different key, the new key signature is placed at the beginning of that section.

In a key signature, a sharp or flat symbol on a line or space of the staff indicates that the note represented by that line or space is to be played a semitone higher (sharp) or lower (flat) than it would otherwise be played. This applies through the rest of the piece or until another key signature appears. Each symbol applies to comparable notes in all octaves — for example, a flat on the fourth space of the treble staff (as in the diagram) indicates that all notes notated as Es are played as E-flats, including those on the bottom line of the staff.

Most of this article addresses key signatures that represent the diatonic keys of Western music. These contain either flats or sharps, but not both, and the different key signatures add flats or sharps according to the order shown in the circle of fifths.

Each major and minor key has an associated key signature, showing up to seven flats or seven sharps, that indicates the notes used in its scale. Music was sometimes notated with a key signature that did not match its key in this way—this can be seen in some Baroque pieces,[1] or transcriptions of traditional modal folk tunes.[2]

  1. ^ Schulenberg, David. Music of the Baroque. New York: Oxford University Press, 2001. p. 72.. "(…) to determine the key of a Baroque work one must always analyze its tonal structure rather than rely on the key signature."
  2. ^ Cooper, David. The Petrie Collection of the Ancient Music of Ireland. Cork: Cork University Press, 2005. p. 22. "In a few cases Petrie has given what is clearly a modal melody a key signature which suggests that it is actually in a minor key. For example, Banish Misfortune is presented in D minor, although it is clearly in the Dorian mode."

Developed by StudentB