powered by
Create an arpeggio from a chord.
chord_arpeggiate( chord, n = 0, by = c("note", "chord"), broken = FALSE, collapse = FALSE )
character
character, a single chord.
integer, number of steps, negative indicates reverse direction (decreasing pitch).
whether each of the n steps refers to individual notes in the chord (an inversion) or raising the entire chord in its given position by one octave.
n
logical, return result as an arpeggio of broken chords.
logical, collapse result into a single string ready for phrase construction.
This function is based on chord_invert. If n = 0 then chord is returned immediately; other arguments are ignored.
chord_invert
n = 0
chord
chord_arpeggiate("ce_gb_", 2) chord_arpeggiate("ce_gb_", -2) chord_arpeggiate("ce_gb_", 2, by = "chord") chord_arpeggiate("ce_gb_", 1, broken = TRUE, collapse = TRUE)
Run the code above in your browser using DataLab