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 musical "Seussical" by Flaherty and Ahrens also has several songs written in these extreme keys. Key signatures can be further extended through double sharps and double flats (for example, a piece in the key of G major can be expressed with a double sharp on F and six sharps on the other six pitches). As with the seven-sharp and seven-flat examples, it is rarely necessary to express music in such keys when simpler enharmonic examples can instead be used (in the case of G, the same passage could be expressed in A with only four flats). The key signature may