[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I use allabreve for 2/4 music?

From: Mats Bengtsson
Subject: Re: How do I use allabreve for 2/4 music?
Date: Mon, 03 Jan 2005 10:05:44 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

An alternative solution is to redefine how LilyPond prints the
time signature. See
for some inspiration.


Sven Axelsson wrote:
Sven Axelsson [mailto:address@hidden wrote

Paul Scott [mailto:address@hidden 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
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]