[Top][All Lists]

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

Re: Four Bars per Line/System, again :)

From: Kieren MacMillan
Subject: Re: Four Bars per Line/System, again :)
Date: Fri, 18 May 2012 16:40:49 -0400


Come to think of it, wouldn't this be a good place for a Scheme engraver 
[written by someone who, unlike me, knows Scheme well]? To wit, if the measures 
in a piece aren't all 4/4, then our suggestion(s) won't work; and every time 
the total number of measures changes you need to update; etc.

Couldn't there just be an engraver that says, “If I'm the k-th barline since 
the last system break, then break, otherwise noBreak”, that could be 
\consists-ed into the \Score?


On 2012-May-18, at 16:35, Kieren MacMillan wrote:

> Hi Trevor (and Nils),
>> I usually have a variable called something like timeline in which I place 
>> all things which apply to the score as a whole rather than to individual 
>> staves or voices, things like breaks, key changes, time signature changes, 
>> special bar lines, etc.  The individual items are positioned with spacer 
>> rests, and the variable is included in parallel with at least one of the 
>> music voices.
> For the record, one can now use tags to eliminate the need for spacer rests — 
> much cleaner and more maintainable.
>> So for your particular case I would define
>> timeline = \repeat unfold nnn { s1*4 \break }
> If you really want to FORCE [exactly] four bars per system, I think you need 
> to use
>    \repeat unfold nnn { \repeat unfold 4 { s1 \noBreak } \break }
>> I don't consider this a hack.  It allows the actual notes to be kept 
>> separate and clean.
> +1
> Kieren.
> _______________________________________________
> lilypond-user mailing list
> address@hidden

reply via email to

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