View source: R/1-construct-fermata.R
Fermata | R Documentation |
Fermata
ObjectCreate a Fermata
object to represent a fermata symbol.
Fermata(i, to = NULL, shape = NULL, above = NULL)
i |
A single positive integer, which represents the position of the fermata in a musical line. |
to |
Optional. A single character or a single positive integer, which indicates the musical line where to add the fermata. |
shape |
Optional. A single character, which indicates the shape of
the fermata. The default value is |
above |
Optional. A single logical, which indicates whether the fermata symbol should appear above or below the staff. |
Supported fermata shapes:
"normal"
"short" or "angled"
"long" or "square"
"very short" or "double-angled"
"very long" or "double-square"
"long (Henze)" or "double-dot"
"short (Henze)" or "half-curve"
"curlew"
The shapes are from the MusicXML specification and MuseScore.
A list of class Fermata
.
+.Music()
for adding a Fermata
to
a Music
object.
# Create a fermata
fermata <- Fermata(1)
fermata
# Add it to a `Music`
music <- Music() + Meter(4, 4) + Line(c("C4", "D4")) + fermata
music
# Generate the music score
if (interactive()) {
show(music)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.