https://primanota.net/yuck/automatic-chords.htm