These functions construct basic chord string notation from root notes
.
chord_min(notes, key = "c", collapse = FALSE, style = "default")chord_maj(notes, key = "c", collapse = FALSE, style = "default")
chord_min7(notes, key = "c", collapse = FALSE, style = "default")
chord_dom7(notes, key = "c", collapse = FALSE, style = "default")
chord_7s5(notes, key = "c", collapse = FALSE, style = "default")
chord_maj7(notes, key = "c", collapse = FALSE, style = "default")
chord_min6(notes, key = "c", collapse = FALSE, style = "default")
chord_maj6(notes, key = "c", collapse = FALSE, style = "default")
chord_dim(notes, key = "c", collapse = FALSE, style = "default")
chord_dim7(notes, key = "c", collapse = FALSE, style = "default")
chord_m7b5(notes, key = "c", collapse = FALSE, style = "default")
chord_aug(notes, key = "c", collapse = FALSE, style = "default")
chord_5(notes, key = "c", collapse = FALSE, style = "default")
chord_sus2(notes, key = "c", collapse = FALSE, style = "default")
chord_sus4(notes, key = "c", collapse = FALSE, style = "default")
chord_dom9(notes, key = "c", collapse = FALSE, style = "default")
chord_7s9(notes, key = "c", collapse = FALSE, style = "default")
chord_maj9(notes, key = "c", collapse = FALSE, style = "default")
chord_add9(notes, key = "c", collapse = FALSE, style = "default")
chord_min9(notes, key = "c", collapse = FALSE, style = "default")
chord_madd9(notes, key = "c", collapse = FALSE, style = "default")
chord_min11(notes, key = "c", collapse = FALSE, style = "default")
chord_7s11(notes, key = "c", collapse = FALSE, style = "default")
chord_maj7s11(notes, key = "c", collapse = FALSE, style = "default")
chord_11(notes, key = "c", collapse = FALSE, style = "default")
chord_maj11(notes, key = "c", collapse = FALSE, style = "default")
chord_13(notes, key = "c", collapse = FALSE, style = "default")
chord_min13(notes, key = "c", collapse = FALSE, style = "default")
chord_maj13(notes, key = "c", collapse = FALSE, style = "default")
xm(notes, key = "c", collapse = FALSE, style = "default")
xM(notes, key = "c", collapse = FALSE, style = "default")
xm7(notes, key = "c", collapse = FALSE, style = "default")
x7(notes, key = "c", collapse = FALSE, style = "default")
x7s5(notes, key = "c", collapse = FALSE, style = "default")
xM7(notes, key = "c", collapse = FALSE, style = "default")
xm6(notes, key = "c", collapse = FALSE, style = "default")
xM6(notes, key = "c", collapse = FALSE, style = "default")
xdim(notes, key = "c", collapse = FALSE, style = "default")
xdim7(notes, key = "c", collapse = FALSE, style = "default")
xm7b5(notes, key = "c", collapse = FALSE, style = "default")
xaug(notes, key = "c", collapse = FALSE, style = "default")
x5(notes, key = "c", collapse = FALSE, style = "default")
xs2(notes, key = "c", collapse = FALSE, style = "default")
xs4(notes, key = "c", collapse = FALSE, style = "default")
x9(notes, key = "c", collapse = FALSE, style = "default")
x7s9(notes, key = "c", collapse = FALSE, style = "default")
xM9(notes, key = "c", collapse = FALSE, style = "default")
xadd9(notes, key = "c", collapse = FALSE, style = "default")
xm9(notes, key = "c", collapse = FALSE, style = "default")
xma9(notes, key = "c", collapse = FALSE, style = "default")
xm11(notes, key = "c", collapse = FALSE, style = "default")
x7s11(notes, key = "c", collapse = FALSE, style = "default")
xM7s11(notes, key = "c", collapse = FALSE, style = "default")
x_11(notes, key = "c", collapse = FALSE, style = "default")
xM11(notes, key = "c", collapse = FALSE, style = "default")
x_13(notes, key = "c", collapse = FALSE, style = "default")
xm13(notes, key = "c", collapse = FALSE, style = "default")
xM13(notes, key = "c", collapse = FALSE, style = "default")
character, chord root notes, space-delimited or a vector of individual notes.
key signature. See details.
logical, collapse result into a single string ready for phrase construction.
character, passed to transpose
.
character
Providing a key
signature is used only to ensure flats or sharps for accidentals.
An additional set of aliases with efficient names, of the form x*
where *
is a chord modifier abbreviation, is provided to complement the set of chord_*
functions.
These functions create standard chords, not the multi-octave spanning types of chords commonly played on guitar.
# NOT RUN {
chord_min("d")
chord_maj("d")
xM("d")
xm("c f g")
xm("c, f, g,", key = "e_", collapse = TRUE)
# }
Run the code above in your browser using DataLab