# Create a bass clef
clef <- Clef("F")
clef
# Add the clef to a `Music`
music <- Music() + Meter(4, 4) + Line(c("C3", "D3")) + clef
music
# Generate the music score
if (interactive()) {
show(music)
}
Run the code above in your browser using DataLab