buildChord | R Documentation |
Build Chord
buildChord(
root,
chord = "minor",
plot = TRUE,
play = FALSE,
formatNotation = TRUE,
...
)
root |
String: Root note |
chord |
String: Chord to build. Default = "minor" |
plot |
Logical: If TRUE, plot chord notes using cplot_piano |
play |
Logical: If TRUE, play chord using playChord |
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
|
E.D. Gennatas
buildChord("C4", "minor")
buildChord("A4", "sus2", plot = TRUE)
## Not run:
buildChord("B4", "sus2", play = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.