lp_chord_id {tabr} | R Documentation |
Obtain LilyPond quasi-chord notation.
lp_chord_id(root, chord, exact = FALSE, ...)
lp_chord_mod(root, chord, exact = FALSE, ...)
root |
character, root note. |
chord |
character, |
exact |
logical, return a more exact LilyPond chord representation. |
... |
additional arguments passed to |
These functions take a tabr
syntax representation of a chord name and
convert it to quasi-LilyPond syntax;
"quasi" because the result still uses _
for flats and #
for sharps,
whereas LilyPond itself uses es
and is
(mostly).
This is the format used by tabr
functions involved in communicating with
LilyPond for music transcription, and they make these final conversions on
the fly.
This can be overridden with exact = TRUE
.
character
lp_chord_id("a a a", "m M m7_5")
lp_chord_mod("a a a", "m M m7_5")
lp_chord_id("a a a", "m M m7_5", exact = TRUE)
lp_chord_mod("a a a", "m M m7_5", exact = TRUE)