Very nice. Is the function that determines whether a chord inversion is likely to be correct based on any sort of well-known algorithm? I don&#x27;t have the musical fluency to comprehend what the intervals all correspond to. Seems like a neat solution, though.