https://primanota.net/bevis-frond/close-chords.htm