A key signature serves as a guide for the performer of a piece of music. The key signature determines the pattern of accidentals -- sharps and flats -- to be played, and reappears at the beginning of each staff. (In this way it differs from a time signature, which need be written only once). For example, if the key signature consists of only F-sharp, each written note F in the piece should be played as F-sharp, even though no sharp immediately precedes the written note. Often, however, an accidental contradicting the direction of the key signature will appear immediately before the written note. An accidental immediately preceding the written note always takes precedence. (For instance, in our example, if the key signature contains F-sharp but a written note F appears with a natural sign written in front of it, F-natural should be played). In traditional notation, this influence of the new accidental applies for the duration of the measure before the key signature resumes its "dominion", or until canceled by a subsequent new accidental.
Since a the presence of a "key" in music is contingent on a certain pattern of accidentals, the key signature gives a partial indication of the key of a given passage of music. We need more than the key signature to determine the key of a passage, though -- that must be decided on the basis of contextual features to be explained elsewhere in the School of Music. All other things being equal, though, each key signature can represent one of two musical keys: one major, and one minor. Each is termed the "relative" major or minor, respectively, in relation to the other. For example, B-flat major and G minor have the same key signature: the relative minor of the key of B-flat major is G minor, while B-flat major is the relative major of G minor. The following tables illustrate each key signature, along with a listing of their corresponding keys. It is of paramount importance for the practicing musician to memorize these keys and to be able to recall them instantly.
No sharps or flats