Decodes a given textual label into the implied chord quality.
decode_chord_quality(x, must_work = FALSE)
x | (Character scalar) Label to decode. |
---|---|
must_work | (Logical scalar)
If |
If the textual label is recognised,
returns an integer vector corresponding to the pitch-class set
expressed relative to the chord root,
otherwise returns NULL
(or an error if must_work
is TRUE
).
No preprocessing is applied to x
.
register_chord_quality
for registering additional chord qualities
in the database.
initialise_chord_qualities
for resetting the database.