View source: R/1-construct-breath.R
Breath | R Documentation |
Breath
ObjectCreate a Breath
object to represent a breath mark.
Breath(i, to = NULL, symbol = NULL)
i |
A single positive integer, which represents the position of the breath mark in a musical line. |
to |
Optional. A single character or a single positive integer, which indicates the musical line where to add the breath mark. |
symbol |
Optional. A single character which can be |
A list of class Breath
.
+.Music()
for adding a breath mark to a Music
object.
# Create a breath mark
breath <- Breath(1)
breath
# Add it to a `Music`
music <- Music() + Meter(4, 4) + Line(c("C4", "D4")) + breath
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.