Diatonic scale are major scales (those with a major third/triad: Ionian, Lydian, and Mixolydian), three are minor (those with a minor third/triad: Dorian, Phrygian, and Aeolian). To these may be added the seventh diatonic scale, with a diminished fifth above the reference note, the Locrian scale. These could be transposed not only to include one flat in the signature (as described by Glarean), but to all twelve notes of the chromatic scale, resulting in a total of eighty-four diatonic scales. The modern musical keyboard originated as a diatonic keyboard with only white keys. The black keys were progressively added for several purposes:
Heptatonic scale Heptatonic scale A heptatonic scale is a musical scale that has seven pitches per octave. Examples include the "major scale" or "minor scale"; e.g., in C major: C D E F G A B C—and in the relative minor, A minor, natural minor: A B C D E F G A; the "melodic minor scale", A B C D E FGA ascending, A G F E D C B A descending; the "harmonic minor scale", A B C D E F GA; and a scale variously known as the "Byzantine", and "Hungarian", scale, C D E F G A B