https://primanota.net/purson/contract-chords.htm