get_chord_qualities_df: Get chord qualities

View source: R/chord-qualities.R

get_chord_qualities_dfR Documentation

Get chord qualities

Description

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.

Usage

get_chord_qualities_df()

Details

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.

See Also

  • decode_chord_quality for decoding chord qualities.

  • register_chord_quality for registering additional chord qualities.


pmcharrison/hrep documentation built on Feb. 18, 2024, 2:33 a.m.