lp_chord_id {tabr} | R Documentation |
LilyPond chord notation
Description
Obtain LilyPond quasi-chord notation.
Usage
lp_chord_id(root, chord, exact = FALSE, ...)
lp_chord_mod(root, chord, exact = FALSE, ...)
Arguments
root |
character, root note. |
chord |
character, |
exact |
logical, return a more exact LilyPond chord representation. |
... |
additional arguments passed to |
Details
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
.
Value
character
Examples
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)
[Package tabr version 0.5.0 Index]