Specifying notes that are one or multiple octaves below or above the middle can be done by appending one or multiple commas or single quote tick marks, respectively, e.g. c,
or c''
.
But this is not necessary. Instead, you can use octave numbering. This may easier to read, generally more familiar, potentially requires less typing, can still be omitted completely
for the middle octave (no need to type c3, d3, ...), and is automatically converted for you by phrase
to the tick mark format interpreted by LilyPond.
That said, using the raised and lowered tick mark approach can be surprisingly easier to read for chords, which have no spaces between notes, especially six-string chords,
given that the tick marks help break up the notes in the chord visually much more so than integers do. See examples.
The function p
is a convenient shorthand wrapper for phrase
.
Tied notes indicated by ~
are part of the note
notation and not part of the info
notation, e.g. c''~
.
Notes can comprise chords. These are bound tightly rather than space-delimited, as they are not separated in time.
For example, a C chord could be given as ceg
and in the case of tied notes would be c~e~g~
.
Other information about a note is indicated with the info
string.
The most pertinent information, minimally required, is the note duration. A string of space-delimited notes
will always be accompanied by a space-delimited string of an equal number of integer durations.
Durations are powers of 2: 1, 2, 4, 8, 16, 32, 64. They represent the fraction of a measure, e.g., 2 means 1/2 of a measure and 8 refers to an eighth note.
Dotted notes are indicated by adding .
immediately after the integer, e.g., 2.
or 2..
.
Any other note metadata is appended to these durations. See examples.
Opening and closing slurs (or hammer ons and pull offs) are indicated with opening and closing parentheses, slides with -
, and simple bends with ^
.
Text annotations aligned vertically with a note in time on the staff is done by appending the text to the note info entry itself. See notate
.
For more details and example, see the package vignettes.