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