lilypond-user
[Top][All Lists]
Advanced

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

Frenching with pick-ups


From: Christopher R. Maden
Subject: Frenching with pick-ups
Date: Sun, 13 Nov 2011 12:04:13 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15

The recent discussion on hiding unused staffs led me to improve one of
my scores, but I ran into a little weirdness.  The piece is a waltz (“Si
Bheag, Si Mhor”) with a pick-up for every strain.

For the anacrucis, if I use a partial-measure rest (\partial 4 r4), the
staff won’t get dropped.  If I use a full-measure rest (R4), then the
line is dropped as appropriate, but I get bar check errors, and if the
measure is part of a line that is kept, then I get a blank measure
instead of a rest.

Score follows, then some comments:

=-=-=-=-=

\version "2.12.3"

#(set-default-paper-size "letter")

\header {
  title = "Frenching Bug Test"
}

\score {
  <<
    \new Staff <<
      \time 3/4
      \set Staff.instrumentName = #"First"
      {
        \partial 4 c''4 | c'' c'' c'' | c'' c'' \bar "|."
      }
    >>
    \new Staff <<
      \time 3/4
      \set Staff.instrumentName = #"Second"
      {
        \partial 4 r4 | R2. | r2 \bar "|."
      }
    >>
    \new Staff <<
      \time 3/4
      \set Staff.instrumentName = #"Third"
      {
        \partial 4 r4 | R2. | R2 \bar "|."
      }
    >>
    \new Staff <<
      \time 3/4
      \set Staff.instrumentName = #"Fourth"
      {
        \partial 4 R4 | R2. | R2 \bar "|."
      }
    >>
  >>
  \layout {
    \context {
      \RemoveEmptyStaffContext
      \override VerticalAxisGroup #'remove-first = ##t
    }
  }
}

=-=-=-=-=

The Second staff is not dropped, but looks correct otherwise.

The Third staff is not dropped (as it is not completely full-measure
rests), but demonstrates the blank measure that happens when the line is
not dropped.

The Fourth staff is dropped, as it is all full-measure rests.

The Third and Fourth staves cause errors:

frenching.ly:36:19: warning: barcheck failed at: -1/4
        \partial 4
                   R4 | R2. | R2 \bar "|."
frenching.ly:29:30: warning: barcheck failed at: 1/2
        \partial 4 r4 | R2. |
                              R2 \bar "|."
frenching.ly:36:30: warning: barcheck failed at: 1/2
        \partial 4 R4 | R2. |
                              R2 \bar "|."

And yes, I realize this is an older version of LilyPond... but Ubuntu is
behind, for some reason, and I’m reluctant to break the integration when
everything works OK for me.  Information that this is handled better in
a newer version might be what it takes... (-:

Thanks,
Chris
-- 
Chris Maden, text nerd  <URL: http://crism.maden.org/ >
“Be wary of great leaders.  Hope that there are many, many small
 leaders.” — Pete Seeger



reply via email to

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