lilypond-user
[Top][All Lists]
Advanced

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

Re: position whole measure rest


From: Mats Bengtsson
Subject: Re: position whole measure rest
Date: Wed, 09 Jan 2008 15:22:40 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

Damian Legassick wrote:
thanks mats

the problem i was thinking of is when you've done all the parts in their own files with their own formatting.

to compile the score (with different formatting) i would have somewhere in score.ly (e.g.) \include fluteOne.ly and within fluteOne.ly i would have \fluteOneMusic.

the question is how to get the rests in \fluteOneMusic to be 'correct' in fluteOne.ly and 'offset' in score.ly if in the score i wish to have \fluteOne and fluteTwo sharing the same staff.
That's exactly the question I tried to answer below, just replace \partI by
\fluteOne and \partII by \fluteTwo, i.e.
\new Staff <<
 {\override MultiMeasureRest #'staff-position =#+7 \fluteOne } \\
 {\override MultiMeasureRest #'staff-position =#-7 \fluteTwo }
>>

(By the way, the default settings for this property in the upper and lower voices
is +4 and -4).


an additional problem is that the value for MultiMeasureRest #'staff-position will most likely not stay fixed throughout
Yes, that's another issue. Preferably, the collision detection algorithms in LilyPond should handle this problem automatically, as it attempts to do for normal rests, however as far as I know there's no collision detection implemented for full measure rests yet. One possible solution is to use the \tag command, see "Different editions
from the same source" in the manual.

  /Mats

d


On 9 Jan 2008, at 13:00, Mats Bengtsson wrote:



Damian Legassick wrote:
this also occurs if you \include individual parts into a short-score

in this scenario either the note-name-rest or the staff-position-tweak would not work as it would give an incorrect rest placement in the part concerned
How do you include the individual parts into the short score?
From your question, I guess that you use the << ... \\ ... >> feature.
In that case, the solution is exactly the same:
replace
<< \partI \\ \partII >>
by
<< \partI \\ {\override MultiMeasureRest #'staff-position =#-7 \partII } >>
(you may want a similar setting in the upper part as well).

  /Mats



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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