144 const musx::dom::MusxInstanceList<musx::dom::others::ChordSuffixElement>& suffix);
ChordSuffixClassification classifyChordSuffix()
Classifies a Finale chord with no displayed suffix as a major triad.
Core public API for the Denigma conversion libraries.
Definition articulations.h:32
Classified logical strings reconstructed from Finale chord-suffix elements.
Definition chords.h:119
bool hasUnrecognizedGlyphs
True when the suffix contains a private-use character that no known font mapping resolved.
Definition chords.h:134
bool stackDegrees
True when the suffix shows degrees stacked vertically instead of running left to right.
Definition chords.h:129
std::vector< chord::SuffixString > strings
The suffix's logical strings in Finale's source order. (See chord::SuffixString.)
Definition chords.h:121
std::string calcText() const
Concatenates the classified strings in Finale's source order.
bool hasOuterParentheses
True when a single pair of parentheses encloses the entire suffix text.
Definition chords.h:131
std::vector< chord::Degree > degrees
Degrees the suffix applies on top of quality, in source order.
Definition chords.h:125
std::optional< chord::Quality > quality
The recognized harmonic quality, or std::nullopt when the suffix text could not be parsed.
Definition chords.h:123
bool parenthesizeDegrees
True when the suffix shows degrees inside parentheses.
Definition chords.h:127
One degree alteration that a chord suffix applies on top of its chord::Quality.
Definition chords.h:73
Type type
How the degree modifies the chord.
Definition chords.h:85
int alteration
Chromatic alteration in semitones: -1 for flat, 1 for sharp, 0 for none.
Definition chords.h:84
int value
Degree number relative to the root, such as 9, 11, or 13.
Definition chords.h:83
Type
How the degree modifies the chord.
Definition chords.h:77
@ Remove
The degree is omitted from the chord.
@ Alter
A degree already present in the chord is chromatically altered.
@ Add
The degree is added to the chord.
bool impliedByText
True when the suffix text already spells this degree out, such as the seventh in "7sus4".
Definition chords.h:86
One contiguous logical text string within a Finale chord suffix.
Definition chords.h:97
Position position
The string's position relative to the suffix baseline.
Definition chords.h:111
Position
Logical vertical position of a Finale chord-suffix string.
Definition chords.h:104
@ Inline
On the suffix baseline.
@ Above
Stacked above the suffix baseline.
@ Below
Stacked below the suffix baseline.
std::string text
The string's text as Unicode.
Definition chords.h:110