A single positive integer. They indicate the start
and end positions of the slur.
to, to_j
Optional. A single character or a single positive integer,
which indicates the musical line where to add the slur. Specify to_j
if the start and end positions are in different musical lines.
above
Optional. A single logical, which indicates whether the
slur should appear above or below the staff. By default, the position
is decided by MuseScore.
# Create a slurslur <- Slur(1, 3)
slur
# Add it to a `Music`music <- Music() + Meter(4, 4) + Line(c("C4", "D4", "E4")) + slur
music
# Generate the music scoreif (interactive()) {
show(music)
}