Skip to main content

chord_symbol_kind_from_chord

Function chord_symbol_kind_from_chord 

Source
pub fn chord_symbol_kind_from_chord(chord: &Chord) -> Option<&'static str>
Expand description

The kind of chord a figure is written with: what music21 answers beside the figure when chordSymbolFigureFromChord is asked to include the chord type, so C E G is major and a lone C is pedal.

None for an empty chord, which has no figure either, and for a chord no kind in music21’s table fits.