buildScale | R Documentation |
Build Scale / Mode
buildScale( root, scale = "minor", descending = FALSE, play = FALSE, pairs = FALSE, plot = FALSE, formatNotation = TRUE, ... )
root |
String: Root note. e.g. "C4" |
scale |
String: Scale to build. Default = "minor" |
descending |
Logical: If TRUE, return notes in descending order, otherwise in ascending Default = FALSE |
play |
Logical: If TRUE, play scale using playNote |
pairs |
Logical: If TRUE and |
plot |
Logical: If TRUE, plot scale 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 playNote if |
E.D. Gennatas
buildScale("C4", "minor") buildScale("B4", "minor", descending = TRUE, plot = TRUE) ## Not run: buildScale("B4", "minor", descending = TRUE, 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.