lilypond-user
[Top][All Lists]
Advanced

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

Re: Different tempos


From: Kieren MacMillan
Subject: Re: Different tempos
Date: Sun, 20 Jan 2008 22:13:22 -0500

Hi James,

forbid_line_engraver did the trick

Yeah!! I didn't even know about this one...
Thanks!

Kostia: I've attached my reformatted version of the shortened version of your code, applying James's tip. Notice that I abstracted all of the music into variables, declared before the \score block. I also moved all of the engraver \remove-ing code to the \layout block -- if you need those engravers in *other* Staff or Voice contexts (which aren't currently in the, then you'll need to add them back in, or move the \remove code *back* to where you originally had them (i.e., inside the \score block, where the Staff or Voice is actually instantiated).

Hope this helps!
Kieren.
___________________________________________

\version "2.11.37"

musicA = \relative c''
{
        \time 1/8
        \cadenzaOn
        \set Staff.timeSignatureFraction = #'(51 . 8)
        \compressMusic #'(379 . 51)
        {
                \repeat unfold 51 { b8 \noBeam \bar "" }
        }
}

musicB = \relative c''
{
        \time 1/8
        \cadenzaOn
        \set Staff.timeSignatureFraction = #'(63 . 8)
        \compressMusic #'(379 . 63)
        {
                \repeat unfold 63 { b8 \noBeam \bar "" }
        }
}

musicC = \relative c''
{
        \time 1/8
        \cadenzaOn
        \set Staff.timeSignatureFraction = #'(83 . 8)
        \compressMusic #'(379 . 83)
        {
                \repeat unfold 83 { b8 \noBeam \bar "" }
        }
}

musicD = \relative c''
{
        \time 1/8
        \cadenzaOn
        \repeat unfold 379 { b8 \noBeam \bar "" }
}

\score
{
        <<
                \new Voice \musicA
                \new Voice \musicB
                \new RhythmicStaff \musicC
                \new RhythmicStaff \musicD
        >>

        \layout
        {
                \context
                {
                        \Staff
                        \remove "Time_signature_engraver"
                        \remove "Bar_engraver"
                }
                \context
                {
                        \RhythmicStaff
                        \remove "Time_signature_engraver"
                        \remove "Bar_engraver"
                }
                \context
                {
                        \Voice
                        \remove "Forbid_line_break_engraver"
                }
        }
}




reply via email to

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