lilypond-user
[Top][All Lists]
Advanced

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

Re: Vertical gap between two simultaneous pedals


From: Paolo Prete
Subject: Re: Vertical gap between two simultaneous pedals
Date: Sun, 14 Jun 2020 14:57:49 +0200


On Sun, Jun 14, 2020 at 9:49 AM Pierre Perol-Schneider <pierre.schneider.paris@gmail.com> wrote:
Hi Paolo,
How about:

\score {
  <<
    \new Staff {
      c'4 c' c' c'
      r1 \break
      c'4 c' c' c'
      r1
    }
    \new Dynamics
    \with { \override VerticalAxisGroup.nonstaff-nonstaff-spacing.padding = #3 } {
      s4\sostenutoOn s s s\sostenutoOff
      s1 \break
      s4\sustainOn s s s\sustainOff
      s1
    }
    \new Dynamics {
      s4\sustainOn s s s\sustainOff
      s1 \break
      s4 s s\sostenutoOn s\sostenutoOff
      s1
    }
  >>
  \layout {
    \context {
      \Dynamics
      pedalSustainStyle = #'mixed
    }
  }
}

Cheers,
Pierre


Hi Pierre,

Thanks for the precious hint.
However, I would like to avoid the Dynamics layer, because it introduces redundancy.
Is there a way to achieve the same result without that layer?

Best,
P

reply via email to

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