notate {tabr}R Documentation

Add text to music staff

Description

Annotate a music staff, vertically aligned above or below the music staff at a specific note/time.

Usage

notate(x, text, position = "top")

Arguments

x

character.

text

character.

position

character, top or bottom.

Details

This function binds text annotation in LilyPond syntax to a note's associated info entry. Technically, the syntax is a hybrid form, but is later updated safely and unambiguously to LilyPond syntax with respect to the rest of the note info substring when it is fed to phrase() for musical phrase assembly.

Value

a character string.

Examples

notate("8", "Solo")
phrase("c'~ c' d' e'", pc(notate(8, "First solo"), "8 8 4."), "5 5 5 5")

[Package tabr version 0.5.0 Index]