An alternative solution is to redefine how LilyPond prints the time signature. See http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/Polymetric-notation.html#Polymetric-notation for some inspiration.
/Mats
Sven Axelsson wrote:
Sven Axelsson [mailto:[EMAIL PROTECTED] wrote
Paul Scott [mailto:[EMAIL PROTECTED] wrote
Sven Axelsson wrote:
Hi List.
This question is for Lilypond 2.4.2.
I am using Lilypond to typeset music for the Scottish
Highland Bagpipes, and
we have some 2/4 music (Reels) that are supposed to have an
allabreve time
signature. Now, in Lilypond is hard coded to 2/2, so how
would I change that?
To use numbers in time signatures: \override Staff.TimeSignature #'style = #'numbered
To use common or allabreve: \override Staff.TimeSignature #'style = #'C
For further details go to: "Program Reference/Backend/All layout objects/TimeSignature"
No, I'm afraid that didn't help. As I said, I need the allabreve symbol
displayed with a 2/4 time signature. Lilypond only displays it with a 2/2
signature, at least as far as I can see. Perhaps the "Bugs" entry in 5.16.6
showing a call to the Scheme function ly:make-duration could be useful here.
Does anyone know?
Answering my own question: I can cheat by doing this \time 2/2 \set Score.measureLength = #(ly:make-moment 2 4) #(override-auto-beam-setting '(end * * * *) 1 4 'Staff)
which gives me the output I want.
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
