https://primanota.net/alan-hull/end-chords.htm