These functions can be used to extract and "translate," or otherwise modify, data representing diatonic key information. The functions are:
Arguments
- x
Input data, interpreted as diatonic keys.
Must be an
atomic
vector.- Key
The key used by the parser, deparser, and transposer.
Defaults to
NULL
.Must be a
diatonicSet
or something coercable todiatonicSet
; must be either length1
orlength(x)
- parseArgs
An optional list of arguments passed to the key parser.
Defaults to an empty
list()
.Must be a
list
of named arguments to the key parser.
See also
To better understand how these functions work, read about how diatonic keys are represented, parsed, and deparsed.