humdrumR includes a easy-to-use but powerful system for parsing diatonic key information:
various basic key representations (including numeric
and character
-string representations) can be "parsed"---read
and interpreted by humdrumR
.
For the most part, parsing automatically happens "behind the scenes" whenever you use any humdrumR key function, like key()
or signature()
.
Usage
diatonicSet(...)
# S3 method for diatonicSet
diatonicSet(x, ...)
# S3 method for logical
diatonicSet(x, ...)
# S3 method for `NULL`
diatonicSet(x, ...)
# S3 method for numeric
diatonicSet(x)
# S3 method for integer
diatonicSet(x)
# S3 method for character
diatonicSet(x, ..., Key = NULL, Exclusive = NULL, multiDispatch = FALSE)
See also
All humdrumR
key functions make use of the deparsing functionality.