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
Major scale will generally reflect the accidentals in the corresponding major scale. For instance, if a piece of music is in E major, then the seven pitches in the E major scale (E, F, G, A, B, C and D) are considered diatonic pitches, and the other five pitches (E, F/G, A, B, and C/D) are considered chromatic pitches. In this case, the key signature will have three flats (B, E, and A). The figure below shows all 12 relative major and minor keys, with major keys on the outside and minor keys on the inside arranged around the circle of fifths.