bell notificationshomepageloginNewPostedit profiledmBox

Hoots : Use of fractional time signatures in Lilypond I am trying to recreate this time signature of 2 and a half over 4 in lilypond. I cannot figure out how to get the fraction in there, and for this project, I am required to keep - freshhoot.com

10% popularity   0 Reactions

Use of fractional time signatures in Lilypond
I am trying to recreate this time signature of 2 and a half over 4 in lilypond. I cannot figure out how to get the fraction in there, and for this project, I am required to keep as many engraving decisions the same as the manuscript, so I would rather do this than just write 5/8. Any advice?


Load Full (1)

Login to follow hoots

1 Comments

Sorted by latest first Latest Oldest Best

10% popularity   0 Reactions

Here's some solution, but less than ideal. I'd prefer to use unicode for the 1/2 symbol, but the time signature font didn't seem to support it. I think you want some basic time signature as I've put (5/8) and then change the text of that, positioning the 1 and 2 in the 1/2 and drawing the line inbetween.
myTwoAndHalfTimeSig = {
override Staff.TimeSignature.stencil = #ly :text-interface::print
override Staff.TimeSignature.text =
markup override #'(baseline-skip . 0) center-column number {
concat {"2" magnify #0 .5 pad-x #-.2 {
translate #'(0 . 1) "1"
translate #'(-1 . 0) override #'(thickness . 2) draw-line #'(1 . 2)
translate #'(0 . 0) "2" }} "4" }
time 5/8}

right = relative c' {
myTwoAndHalfTimeSig
c8 c c c c
}

left = relative c {
myTwoAndHalfTimeSig
c8 c c c c
}


Back to top Use Dark theme