Key signature

Key signature is the sharps or flat signs found at the beginning of a piece of music, immediately after the clef, and before the time signature. The key signatures (together with the clef) are usually written on every stave; the time-signature (measure sign) only at the start of the first line and where changes occur.

The signs affect all notes of the same names as those on which they stand and so define the key of the composition.