scale_chords | R Documentation |
Obtain an ordered sequence of the diatonic chords for a given scale, as triads or sevenths.
scale_chords(
root = "c",
scale = "major",
type = c("triad", "seventh"),
collapse = FALSE
)
root |
character, root note or starting position of scale. |
scale |
character, a valid named scale, referring to one of the
existing |
type |
character, type of chord, triad or seventh. |
collapse |
logical, collapse result into a single string ready for phrase construction. |
character
scale_chords("c", "major")
scale_chords("a", "minor")
scale_chords("a", "harmonic minor")
scale_chords("a", "melodic minor")
scale_chords("a", "jazz minor")
scale_chords("a", "hungarian minor")
scale_chords("c", "major", "seventh", collapse = TRUE)
scale_chords("a", "minor", "seventh", collapse = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.