buildProgression: Build Chord Progression

View source: R/build.R

buildProgressionR Documentation

Build Chord Progression

Description

Build Chord Progression

Usage

buildProgression(
  root = "A4",
  scale = "minor",
  plot = FALSE,
  play = FALSE,
  formatNotation = TRUE,
  ...
)

Arguments

root

String: Root note. Default = "A4"

scale

String: "major" or "minor". Default = "minor"

plot

Logical: If TRUE, plot each chord in the progression using cplot_piano

play

Logical: If TRUE, play scale using playProgression

formatNotation

Logical: If TRUE, format notes to include both flats a nd sharps to avoid repeating the same letter. e.g. convert c("Gb4", "G4") to c("F#4", "G4")

...

Additional arguments to be passed to playProgression if play = TRUE

Author(s)

E.D. Gennatas

Examples

buildProgression("C4", "minor")
buildProgression("Bb4", "major")
## Not run: 
buildProgression("Bb4", "major", play = TRUE, plot = TRUE)

## End(Not run)

egenn/music documentation built on June 29, 2023, 6:30 p.m.