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 signature that appears at the end of a line immediately before a change is usually preceded by an additional barline; the line at the very end of the staff is omitted in this case. If both naturals and a new key signature appear at a key signature change, there are also more recently variations about where a barline will be placed (in the case where the change occurs between bars). For example, in some scores by Debussy, in this situation the barline is placed after the naturals but before the new key signature. Hitherto, it would have been more usual