- if (text_p_arr_.size ())
- return;
- if (!pitch_arr_.size ())
- return;
-
- /*
- Banter style chord names (almost).
- TODO:
- - move this stuff to new Item class Chord_name
- - switch on property, add american (?) chordNameStyle
-
- Scalar chordNameStyle = get_property ("chordNameStyle", 0);
- if (chordNameStyle == "Banter")
- chord = pitches_to_banter (pitch_arr_));
-
- */
-
- Chord chord (pitch_arr_);
- Musical_pitch* inversion = 0;
- Scalar chord_inversion = get_property ("chordInversion", 0);
- if (chord_inversion.to_bool ())