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.
Transposition (music) Thus the set ("A") consisting of 0–1–2 transposed by 5 semitones is 5–6–7 (T("A")) since , , and . There are two different kinds of transposition, depending on whether one is measuring intervals according to the chromatic scale or some other scale. In chromatic transposition one shifts every pitch in a collection of notes by a fixed number of semitones. For instance, if one transposes the pitches C–E–G upwards by four semitones, one obtains the pitches E–G–B. In scalar transposition one shifts every pitch in a collection by a fixed number of scale steps relative to some scale. For example,