chord_for_frets: Chord for Frets

Description Usage Arguments Value See Also Examples

Description

Return the notes for a given set of frets for a specified tuning. Preserves NAs indicating muted strings.

Usage

1
chord_for_frets(frets, tuning = c("e", "a", "d", "g", "b", "e"))

Arguments

frets

A 6 element vector representing fret positions.

tuning

A 6 element vector representing notes of open strings.

Value

Returns a 6 element vector of note names.

See Also

notes_for_frets

Examples

1
chord_for_frets(c(NA, 3, 2, 0, 1, 0))

ggguitar documentation built on May 2, 2019, 3:28 p.m.