fixed get_chords_from_measure