key signature

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