buildChord {music} | R Documentation |
Build Chord
Description
Build Chord
Usage
buildChord(
root,
chord = "minor",
play = FALSE,
plot = FALSE,
formatNotation = TRUE,
...
)
Arguments
root |
String: Root note |
chord |
String: Chord to build. Default = "minor" |
play |
Logical: If TRUE, play chord using playChord |
plot |
Logical: If TRUE, plot chord notes using cplot.piano |
formatNotation |
Logical: If TRUE, format notes to include both flats and sharps to avoid repeating the same letter. e.g. convert c("Gb4", "G4") to c("F#4", "G4") |
... |
Additional arguments to be passed to playChord if |
Author(s)
E.D. Gennatas
Examples
buildChord("C4", "minor")
buildChord("A4", "sus2", plot = TRUE)
## Not run:
buildChord("B4", "sus2", play = TRUE)
## End(Not run)
[Package music version 0.1.2 Index]