View source: R/chord-qualities.R
get_chord_qualities_df | R Documentation |
Returns a tibble
of chord qualities and different
textual labels for these chord qualities.
In practice most users will access this information through the
function decode_chord_quality
.
get_chord_qualities_df()
The tibble
has one row for each unique chord quality,
where a chord quality is defined as a set of pitch classes
expressed relative to the chord root.
The pitch_classes
column provides the chord quality as an integer vector,
corresponding to a list of pitch classes expressed relative to the chord root.
The scale_degrees
column lists the scale degrees present in the
chord quality in a more traditional human-readable format.
The description
column provides a textual description for the
chord quality.
The remaining columns are prefixed by key_
,
and provide textual abbreviations for the chord quality.
These key_
elements define the legal inputs for the function
decode_chord_quality
.
The data is read from the package file 'inst/chord-qualities.csv'. Additions can be proposed by GitHub: https://github.com/pmcharrison/hrep.
decode_chord_quality
for decoding chord qualities.
register_chord_quality
for registering additional chord qualities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.