# Create a staccato
staccato <- Articulation(".", 1)
staccato
# Add it to a `Music`
music <- Music() + Meter(4, 4) + Line(c("C4", "D4")) + staccato
music
# Generate the music score
if (interactive()) {
show(music)
}
Run the code above in your browser using DataLab