This function outputs a figured bass representation of a tertian harmony.
Arguments
- x
An
atomic
vector.The
x
argument can be any (atomic) vectors- Key
The diatonic key used by the parser, deparser, and transposer.
Defaults to
NULL
, which is interpreted as C major.Must be a
diatonicSet
or something coercable todiatonicSet
; must be either length1
orlength(x)
.- transposeArgs
An optional list of arguments passed to a
transpose()
call.Defaults to an empty
list()
.Must be a
list
of named arguments totranspose()
.- parseArgs
An optional list of arguments to the chord parser.
Defaults to an empty
list()
.Must be a
list
of named arguments to the chord parser.- inPlace
Should non-chord information be retained in the output string.
Defaults to
FALSE
.Must be a singleton
logical
value: an on/off switch.
Examples
romanNumerals <- c('2I', '2IV7', '1V', '2vi', '2-VI', '2iio7', '2Vb9')
figuredBass(romanNumerals)
#> [1] "C " "F 7" "G " "A " "A- b5b"
#> [6] "D 7b5" "F- b6b4b2b"
tertian <- c('CM', 'CMm/3', 'FM', 'Fm', 'D-MM', 'GMmm')
figuredBass(tertian)
#> [1] "C " "E 6b5" "F " "F b3" "D- 7b5b" "G b9"
if (FALSE) {
B075 <- readHumdrum(humdrumRroot, "HumdrumData/BeethovenVariations/B075_00_05_a.krn")
with(B075[[ , 2]], figuredBass(Token))
}