buildProgression: Build Chord Progression

View source: R/build.R

buildProgressionR Documentation

Build Chord Progression

Description

Build Chord Progression

Usage

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

Arguments

root

String: Root note. Default = "A4"

scale

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

play

Logical: If TRUE, play scale using playProgression

plot

Logical: If TRUE, plot each chord in the progression using cplot.piano

formatNotation

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 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)

music documentation built on July 11, 2022, 1:06 a.m.