[Function]
(prime-form notes)

Returns the prime form of notes, a list of note names, pitch class names or intervals. The transposition offset is returned as a second value. The prime form is the best normal form or its inversion, whichever is smaller. (The best normal form is the rotation of the set with the fewest intervals spanned placed in monotonically increasing order.)

cm> (prime-form '(c4 ef4 f4))
(0 2 5)
cm>

See Also: