Thank you for sharing, Benjamin.
In version 14.1 I got some issues with the "staff" function:
staff[clef_]:=ImageCompose[Graphics[Text[Style[clef,20],{1.4,.5}],PlotRange->{{1,20},{-2,2}}],Graphics[Table[Line[{{1,i},{20,i}}],{i,0,1,0.25}],ImageSize->1000,PlotRange->{{1,20},{-2,2}}]]
If I use the treble clef with the staff function I get this:
So I rewrote the function with Show instead of ImageCompose; this will create crisp graphics instead of a bitmap. Also I visually resized the size of the treble clef to ensure the curl goes through G4.
staff[clef_] :=
Show[Graphics[Text[Style[clef, 65], {1.4, .5}],
PlotRange -> {{1, 20}, {-2, 2}}],
Graphics[Table[Line[{{1, i}, {20, i}}], {i, 0, 1, 0.25}],
PlotRange -> {{0, 20}, {-2, 2}}], ImageSize -> 800]
Hope this is helpful.