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