Key signature may consist of one or more sharps combined with one or more flats (such as a signature containing both F and B). Key signatures of this kind can be found in the music of Béla Bartók, for example. The effect of a key signature continues throughout a piece or movement, unless explicitly cancelled by another key signature. For example, if a five-sharp key signature is placed at the beginning of a piece, every A in the piece in any octave will be played as A sharp, unless preceded by an accidental (for instance, the A in scale 2 illustrated –
Key signature vice versa, the old key signature is cancelled with the appropriate number of naturals before the new one is inserted; but many more recent publications (whether of newer music or newer editions of older music) dispense with the naturals and simply insert the new signature. Similarly, when a signature with either flats or sharps in it changes to a smaller signature of the same type, strict application of tradition or convention would require that naturals first be used to cancel just those flats or sharps that are being subtracted in the new signature before the new signature itself is written;