Status: Accepted
Owner: ----
Labels: Type-Enhancement

New issue 4253 by [email protected]: Dynamic positioning in dynamic context
https://code.google.com/p/lilypond/issues/detail?id=4253

Helge Kruse wrote :
I have an improvement request.

The dynamic context has a lot of advantages. Most important it makes a
uniform vertical position of all dynamics in a line. Unfortunately it
doesn't behave with the horizontal spacing.

The following example starts with a spacer rest measure. The \p in the
second measure is placed as expected. But if the dynamic has more width
it collides with the bar. This doesn't happen when I add the dynamic to
the upper staff in the third measure. Here you can find a small space
between the bar and the first note (d).

Can this be improved so that the width of objects in the dynamic context
control the spacing in the staff context?


\version "2.19.15"
\language "deutsch"

global = { \time 3/4 }
upper = \relative c' {
    s2.
    d4\p\( e \acciaccatura{g8} f4->\)
    d4\( e \acciaccatura{g8} f4->\)
    d4\ppp\>\( e \acciaccatura{g8} f4->\)
    s2.\! s
}
dynamic = {
  s2.
  s2.\p
  s2.\ppp\>
  s2.\! s2.
}
lower = { s2. s s s }

\new PianoStaff
<<
  \new Staff  = "Staff_pfUpper" << \global \upper  >>
  \new Dynamics = "Dynamics_pf" << \global \dynamic >>
  \new Staff = "Staff_pfLower"  << \global \lower >>



Attachments:
        dynamicsContext.pdf  34.1 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to