is.major | R Documentation |
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."
is.major(x, ...)
is.minor(x, ...)
## S3 method for class 'diatonicSet'
is.major(x)
## S3 method for class 'diatonicSet'
is.minor(x)
## Default S3 method:
is.major(x, ...)
## Default S3 method:
is.minor(x, ...)
x |
Input data, interpreted as diatonic keys or chords. Must be a |
... |
Parameters passed to the parsers ( |
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.
Other Tonal feature functions:
is.simple()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.