ABSTRACT: Diatonic keyboard tunings in equal temperament  just intonation  meantone and well tempered scales are derived from Pythagorean tuning using algorithms whose operations involve combinations of pure fifths and syntonic commas