In music theory, a diatonic scale is any heptatonic scale that includes five whole steps and two half steps (semitones) in each octave, in which the two half steps are separated from each other by either two or three whole steps, depending on their position in the scale. This pattern ensures that, in a diatonic scale spanning more than one octave, all the half steps are maximally separated from each other.
The modern piano keyboard is based on the interval patterns of the diatonic scale. Any sequence of seven successive white keys plays a diatonic scale.
In Western music theory, a major second is a second spanning two semitones. A second is a musical interval encompassing two adjacent staff positions. For example, the interval from C to D is a major second, as the note D lies two semitones above C, and the two notes are notated on adjacent staff positions. Diminished, minor and augmented seconds are notated on adjacent staff positions as well, but consist of a different number of semitones.The intervals from the tonic (keynote) in an upward direction to the second, to the third, to the sixth, and to the seventh scale degrees (of a major scale are called major.
Diagram showing relations between epogdoon, diatessaron, diapente, and diapason
Detail of Raphael's School of Athens showing Pythagoras with epogdoon diagram