Learn R Programming

chorrrds (version 0.1.9.5)

simplify_chords: simplify_chords

Description

Simplifies music chords extracted with the chords package, eliminating chords extensions, such as 4th, 5th, 6th, 7th, 9th, sus. It leaves the chords in the simplest format possible.

Usage

simplify_chords(data)

Arguments

data

character. The chords to be simplified.

Value

The dataset with a new column called "chord_simplified" with the simplified version of the chords.

Examples

Run this code
# NOT RUN {
{
# }
# NOT RUN {
  songs <- get_songs("tim-maia")
  chords <- get_chords(songs$url[2])
  simplify_chords(chords)
# }
# NOT RUN {
}
# }

Run the code above in your browser using DataLab