... For instance, the algorithm gives two possible encodings for a [0,2,5,9] pc-set, namely minor seventh chord or major chord with sixth (see Table1, example 2); such ambiguity may be resolved if tonal context is taken into account. For the [0,3,4,7] pc-set with root 0, the algorithm produces two answers, namely, a [2,5,9] and [5,9,0] [2,5,9] and [5,9,0] [2,5,9,12] and [5, 9, [2,5], [5,8], [8,11], [2,11] [2, 5], [5,8], [8,11], [2,11] all rotations of [ cated harmonic analysis, but rather to find a practical and efficient encoding for tone simultaneities (to be used, for instance, in statistical learning and automatic harmonic generation -see end of Section 4), we decided to extend the algorithm so as to reach in every case a single chord type for each simultaneity (no ambiguity). ...