lilypond-user
[Top][All Lists]
Advanced

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

Re: polymetric parts


From: Mats Bengtsson
Subject: Re: polymetric parts
Date: Thu, 04 Feb 2010 14:49:02 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)



Werner wrote:
I want to have just 2-3 bars in a piece with different time for two voices.
In snippets I found
Changing time signatures inside a polymetric section using \scaleDurations
but I don't understand that very well.
Why doesn't lilypond just do what I write? it puts the first voice to 2/4 with
the second instead of remaining in 3/4:

one voice (and staff)

...
\bar "||"
\time 3/4
e8 a~ a gis c4 | r8 e, a4 gis8 c~ | c e, a8. gis16 c4 | e,8 a r16 gis c8 des a | % other voice already in 2/4 gis8 d e4 e, | r2 r4 \bar "||"
% now all in 2/4
\time 2/4
a4 cis | d d8 cis
another voice (and staff)

...
\bar "||" \time 3/4 r4 r8 c, f8. e16 | gis4 c,8 f~ f e | gis4 c,8 f r16 e gis8~ | gis c, f2 \bar "||" % one voice still in 3/4 \time 2/4 e4 gis | a a8 gis | a c d f | % now all in 2/4
e4 e | f e |

Could somebody explain a solution - but please very easy comprehensible :)

By default, LilyPond assumes that the music is normal, that is, that the time signature is the same in all staves and that the duration of one beat is the same in all staves. To change that, you have to tell LilyPond to write separate time signatures for each stave and the example you refer to shows how to do that. Also, LilyPond has to know if a specific note in one stave should be typeset to the left or to the right or below a certain note in the other stave (i.e. if it should be played before, after or simultaneously). Therefore, LilyPond has to know the mathematical relation between the beats in the different staves (which is done using \scaleDurations).

Clearer?

   /Mats
Greeting

Werner



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

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        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]