buildProgression | R Documentation |
Build Chord Progression
buildProgression( root = "A4", scale = "minor", play = FALSE, plot = FALSE, formatNotation = TRUE, ... )
root |
String: Root note. Default = "A4" |
scale |
String: "major" or "minor". Default = "minor" |
play |
Logical: If TRUE, play scale using playProgression |
plot |
Logical: If TRUE, plot each chord in the progression 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 playProgression if |
E.D. Gennatas
buildProgression("C4", "minor") buildProgression("Bb4", "major") ## Not run: buildProgression("Bb4", "major", play = TRUE, plot = TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.