bug-lilypond
[Top][All Lists]
Advanced

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

Re: Problem with last rest in 3/4 section


From: Mats Bengtsson
Subject: Re: Problem with last rest in 3/4 section
Date: Mon, 02 Mar 2009 22:59:33 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

This is not a problem with LilyPond, but with you input.
I strongly recommend you to use bar checks (see http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Bars#Bar-and-bar-number-checks). Then, you will quickly figure out that the problem appears already in the first measure of the 3/4 section. The reason is your last bar before the 3/4 section, which is incomplete. Adding two r8 rests to make it a full bar, solves all your problems. If the composer indeed wrote it this way, you can insert a \partial 1*0 just before the \bar "||", but this will unfortunately give the wrong bar numbering. A better solution is described in http://lists.gnu.org/archive/html/lilypond-user/2008-07/msg00435.html
(with a followup that should appear in the mailing list archives soon).

  /Mats

Problem with last rest in 3/4 section wrote:
%% Last Rest is not in the supposed beat in PDF. Should be in the c beat

\version "2.12.0"  % necessary for upgrading to future LilyPond versions.

\header {
        title = "FLORA"
        subtitle = "Fantasia per orchestra mandolinistica"
        composer = "G. Sartori"
        instrument = "MANDOLE"
}


staffViola = \new Staff  {
        \override Score.MetronomeMark #'stencil = ##f
\tempo 4 = 52 \set Staff.midiInstrument="viola"
        \key d \major
        \clef treble
\relative c'' { \time 9/8 d4.->\ff^\markup {Adagio maestoso} cis4.-> h8->\( cis ->d-> \) cis4 \( cis16\) h a4. r4 r8 h4.-> a4.-> fis8-> \( g8-> a8-> \) fis4\( fis16\) e16 d4 r8 r4 r8 r4 r8 r8 g8 \(a8 cis8 e8 a8\) r4 r8 r8 fis,8 \(a8 cis8 e8 a8\) \partial 1 r1 \f a,16-. h-. cis-. d-. e-. d-. cis-. h-. a-. h-. cis- . h-. a-. h-. a-. g-. fis-. e-. d4.->\ff cis'4.-> h8->\( cis-> d\) cis4 \( cis16\) h a4. r4 r8 h4.-> a4.-> fis8-> \( g8-> a8-> \) fis4\( fis16\) e16 d4 r8 r4 r8 b'8 f b d f d b r8 r8 a8-. fis-. a-. d-. fis-. d-. a-. r8 r8 gis8-. f-. gis-. h-. d-. h-. gis-. \bar "||" \tempo 4=113 \time 3/4 a8^\markup {Allegretto} \p r8 r4 r r16 a16-.[ cis-. e-.] a8 -. r8 r4 r16 b,16-.[ d-. f-.] b8-. r8 r4 c,2\( c8\) r8 }

}


\score {
        <<
                \staffViola
        >>
        
        \midi {
        }
        \layout  {
        }
}

\paper {
        #(set-paper-size "a4")
        print-page-number = ##t
        system-count = 10
}





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


--
=============================================
        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]