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 –
Minor scale based on the accidentals of the "natural" minor scale, not on those of the harmonic or melodic minor scales. For example, a piece in E minor will have one sharp in its key signature because the E natural minor scale has one sharp (F). Major and minor keys that share the same key signature are "relative" to each other. For instance, F major is the relative major of D minor since both have key signatures with one flat. Since the natural minor scale is built on the 6th degree of the major scale, the tonic of the relative minor is