| harm | R Documentation |
These functions output roman numeral
representations of a tertian harmony.
The **harm representation is the most widely used standard for roman numeral notation in humdrum data.
Unlike traditional roman numerals, **harm does not indicate inversions with figuration, using lowercase letters
(a, b, c, etc.) instead.
The roman function however does output (relatively) traditional figures.
The output format of roman() is very similar to **harm.
The main difference is that inversions are indicated using traditional figures
, like 653, instead of **harm's simpler system (using letters).
So, for example, if we take the input E7/B in the key of A major, we'll get:
harm(
x,
...,
Key = NULL,
transposeArgs = list(),
parseArgs = list(),
inPlace = FALSE
)
roman(
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 |
harm('E7/B', Key = 'A:') => "V7c"
roman('E7/B', Key = 'A:') => "V643"
tertian <- c('AM', 'AMm/3', 'DM', 'Dm', 'B-MM', 'AM/5', 'EMmm')
harm(tertian, Key = 'A:')
roman(tertian, Key = 'A:')
## Not run:
B075 <- readHumdrum(humdrumRroot, "HumdrumData/BeethovenVariations/B075_00_05_a.krn")
with(B075[[ , 2]], harm(Token))
with(B075[[ , 2]], roman(Token))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.