lilypond-user
[Top][All Lists]
Advanced

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

Re: Help with polymetric music!


From: Kieren MacMillan
Subject: Re: Help with polymetric music!
Date: Wed, 7 Jun 2006 14:44:12 -0400

Hi, Dylan:

My score has four staves, one of which is a drum staff. The
piece has a short introduction with all four voices in 4/4.
After the introduction, the top three voices play a four-
measure section in 3/4, and the drums superimpose 9/8, 8/8, 7/8.

Below is a small sample which should give you the basic idea.

Good luck!
Kieren.
____________________________________

%%%  CODE SNIPPET BEGINS
\version "2.9.7"

\layout
{
        %% move the Timing and Bar functions
        %% from the Score context ...
        \context
        {
                \Score
                \remove "Timing_translator"
                \remove "Default_bar_line_engraver"
        }
        %% ... to the Staff context.
        \context
        {
                \Staff
                \consists "Timing_translator"
                \consists "Default_bar_line_engraver"
        }
}

%% Music in 4/4 (intro) and 3/4 (the piece)
voiceMusic = \relative c'
{
        \time 4/4 \repeat "unfold" 2 { c4 c c c }
        \bar "||"
        \time 3/4 \repeat "unfold" 4 { c4 c c c }
}

%% Music in 4/4 (intro) and 9/8 (the piece)
drumMusic = \relative c'
{
        \time 4/4 \repeat "unfold" 2 { c4 c c c }
        \bar "||"
        \time 9/8
                \repeat "unfold" 2 { c4 c8 c4 c8 c4 c8 } \break
                \repeat "unfold" 2 { c4 c8 c4 c8 c4 c8 }
}

%% Put all of it together!
\score
{
        <<
                \new Staff = "voiceA" << \voiceMusic >>
                \new Staff = "voiceB" << \voiceMusic >>
                \new Staff = "voiceC" << \voiceMusic >>
                \new Staff = "voiceD" << \voiceMusic >>
                \new Staff = "drums" << \drumMusic >>
        >>
}
%%%  CODE SNIPPET ENDS




reply via email to

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