key signature

The pattern of sharps and flats in a certain order that are placed next to the clef at the beginning of a piece of music to indicate the key or scale on which the piece is based.