These functions test the majorness/minorness of a
tertian or diatonic set, a logical TRUE
/FALSE
.
These functions are not testing whether a chord is strictly
a major or minor chord, but rather a "broad" major/minorness:
gnerally, the presence of a minor third degree
makes a set "minor"; thus, a diminished chord is "minor"
and the lydian key is "major."
Usage
is.major(x, ...)
is.minor(x, ...)
# S3 method for diatonicSet
is.major(x)
# S3 method for diatonicSet
is.minor(x)
# S3 method for default
is.major(x, ...)
# S3 method for default
is.minor(x, ...)
Arguments
- x
Input data, interpreted as diatonic keys or chords.
Must be a
diatonicSet
ortertianSet
or something that can be parsed as one.- ...
Parameters passed to the parsers (
tertianSet()
anddiatonicSet()
).
Details
Either function can be called directly on tertian or diatonic sets.
If called on anything else, the functions first call the tertianSet()
parser. If any values fail to parse (returning NA
), the diatonicSet()
parser is called on them.
See also
Other Tonal feature functions:
is.simple()