powered by
Build Chord
buildChord( root, chord = "minor", play = FALSE, plot = FALSE, formatNotation = TRUE, ... )
String: Root note
String: Chord to build. Default = "minor"
Logical: If TRUE, play chord using playChord
Logical: If TRUE, plot chord notes using cplot.piano
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 playChord if play = TRUE
play = TRUE
E.D. Gennatas
buildChord("C4", "minor") buildChord("A4", "sus2", plot = TRUE) if (FALSE) { buildChord("B4", "sus2", play = TRUE) }
Run the code above in your browser using DataLab