lilypond-user
[Top][All Lists]
Advanced

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

Re: partial measure with independent time signatures


From: Peter Van Kranenburg
Subject: Re: partial measure with independent time signatures
Date: Wed, 25 Feb 2009 22:07:35 +0100
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

Mats Bengtsson wrote:
The reason for your problems is that the command \partial 8 is equivalent to
\set Score.measurePosition = #(ly:make-moment -1 8)
which does the setting on the Score level. The solution is to make the

Ok. Perfectly clear. Thanks a lot!

Peter

corresponding
setting in the "Timing" context (which is just an alias for the context where the
Timing_translator currently lives:

\version "2.12.1"

\layout {
\context {
\Score
\remove "Timing_translator"
\remove "Default_bar_line_engraver"
}
\context {
\Staff
\consists "Timing_translator"
\consists "Default_bar_line_engraver"
}
}
% Now each staff has its own time signature.
\relative c' <<
\new Staff {
\time 2/4
\set Timing.measurePosition = #(ly:make-moment -1 8)
%\partial 8*1
d8 | d4 f8 a
}
\new Staff {
\time 2/2
\set Timing.measurePosition = #(ly:make-moment -1 4)
%\partial 4*1
a,4 | d4. e8 f4 g
}
 >>

  /Mats


Peter Van Kranenburg wrote:
Hello all,

Why isn't the \partial working in the code below?
I get:

/Users/pvk/tmp/polymeter.ly:20:3: warning: barcheck failed at: -1/8
d8
   | d4 f8 a
/Users/pvk/tmp/polymeter.ly:25:4: warning: barcheck failed at: 1/4
a,4
    | d4. e8 f4 g

If I include only one of the staves, everything is ok.

thanks in advance,
Peter van Kranenburg


\version "2.12.1"

\layout {
\context {
\Score
\remove "Timing_translator"
\remove "Default_bar_line_engraver"
}
\context {
\Staff
\consists "Timing_translator"
\consists "Default_bar_line_engraver"
}
}
% Now each staff has its own time signature.
\relative c' <<
\new Staff {
\time 2/4
\partial 8*1
d8 | d4 f8 a
}
\new Staff {
\time 2/2
\partial 4*1
a,4 | d4. e8 f4 g
}
>>



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


--
http://www.cs.uu.nl/staff/petervk.html
http://www.cs.uu.nl/research/projects/witchcraft

Visiting Address:
Meertens Instituut, Room 0.54
Joan Muyskenweg 25; 1096 CJ Amsterdam; Netherlands

Postal Address: Postbus 94264; 1090 GG Amsterdam; Netherlands
Tel: +31 (0)20 4628507




reply via email to

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