chord | R Documentation |
These functions outputs jazz/pop-style chord symbols.
There is no universal standard for how to notate such chord symbols, in particular in plain text.
The chord()
function outputs a chord symbol representation roughly consistent with "standard practices."
chord(
x,
...,
Key = NULL,
transposeArgs = list(),
parseArgs = list(),
inPlace = FALSE
)
harte(
x,
...,
Key = NULL,
transposeArgs = list(),
parseArgs = list(),
inPlace = FALSE
)
x |
An The |
Key |
The diatonic key used by the parser, deparser, and transposer. Defaults to Must be a |
transposeArgs |
An optional list of arguments passed to a Defaults to an empty Must be a |
parseArgs |
An optional list of arguments to the chord parser. Defaults to an empty Must be a |
inPlace |
Should non-chord information be retained in the output string. Defaults to Must be a singleton |
For more rigorous, consistent work, we recommend the Harte notation,
which is the standard used by MIREX, etc.
The harte()
function will output standard Harte symbols.
romanNumerals <- c('2I', '2IV7', '1V', '2vi', '2-VI', '2iio7', '2Vb9')
chord(romanNumerals)
chord(romanNumerals, Key = 'A:')
## Not run:
B075 <- readHumdrum(humdrumRroot, "HumdrumData/BeethovenVariations/B075_00_05_a.krn")
with(B075[[ , 2]], chord(Token))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.