Implementation of twelve-tone equal temperament