Equal temperament is a tuning system that divides every octave into segments all of which are equal on a logarithmic scale. Twelve-tone equal temperament, which divides the octave into twelve equal segments, is based on scientific principles and has been used in some types of music since ancient times. It has been the most common tuning system in Western music since the eighteenth century.