  Following the ideas of von Helmholtz and Plomp-Levelt, an algorithm for
calculating the total dissonance of complex sounds, free from logical
inconsistencies and useful for comparing different chords, is proposed. The
method is tested by comparing different tunings of the same major triad. Some
interesting conclusions from this calculation may be drawn.
