lilypond-devel
[Top][All Lists]
Advanced

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

Dynamics context causes "couldn't fit music on page"


From: Xavier Scheuer
Subject: Dynamics context causes "couldn't fit music on page"
Date: Thu, 19 Aug 2010 20:50:14 +0200

Hi Joe!

A recent message from  胡海鹏 - Hu Haipeng  pointed out that the Dynamics
context do not seem to be well handled by the page breaking system.
It causes the "couldn't fit music on page" warning and the systems are
"piled up" in the first page.

As a minimal example I just took the "Piano centered dynamics" template
but repeated unfold 80 to show it up.

Could you please have a look at it?

Many thanks in advance.


global = {
  \key c \major
  \time 4/4
}

upper = \relative c'' {
  \clef treble
  \repeat unfold 80 { a4 b c d }
}

lower = \relative c {
  \clef bass
  \repeat unfold 80 { a2 c }
}

dynamics = {
  \repeat unfold 80 { s2\fff\> s4 s\!\pp }
}

pedal = {
  \repeat unfold 80 { s2\sustainOn s\sustainOff }
}

\score {
  \new PianoStaff = "PianoStaff_pf" <<
    \new Staff = "Staff_pfUpper" << \global \upper >>
    \new Dynamics = "Dynamics_pf" \dynamics
    \new Staff = "Staff_pfLower" << \global \lower >>
    \new Dynamics = "pedal" \pedal
  >>
  \layout { }
}

\score {
  \new PianoStaff = "PianoStaff_pf" <<
    \new Staff = "Staff_pfUpper" << \global \upper \dynamics \pedal >>
    \new Staff = "Staff_pfLower" << \global \lower \dynamics \pedal >>
  >>
  \midi { }
}


Cheers,
Xavier

--
Xavier Scheuer <address@hidden>



reply via email to

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