lilypond-user
[Top][All Lists]
Advanced

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

Re: sustain pedal display ugliness, how to fix?


From: Shane Brandes
Subject: Re: sustain pedal display ugliness, how to fix?
Date: Thu, 31 Mar 2022 20:58:56 -0400

This an old solution to put the pedal in its own context so you can add spacers as you see fit. Maybe there is a better way now, but this works

pedal ={s8 s2\sustainOn s2\sustainOff  }


\score {
  \new PianoStaff \with {
    instrumentName = "Piano"
  } <<
    \new Staff = "right" \with {
      midiInstrument = "acoustic grand"
    } << \rightOne >>
    \new Dynamics = "dynamics" \dynamics
    \new Staff = "left" \with {
      midiInstrument = "acoustic grand"
    } { \clef bass << \leftOne>> }
    \new Dynamics = "pedal" \pedal

On Thu, Mar 31, 2022 at 8:40 PM Kenneth Wolcott <kennethwolcott@gmail.com> wrote:
I forgot to mention that I've been struggling with this concept all
day, with and without the use of spacers.  There's something that I'm
just not getting through my thick skull.

On Thu, Mar 31, 2022 at 5:31 PM Kenneth Wolcott
<kennethwolcott@gmail.com> wrote:
>
> Hi;
>
>   I'm engraving from an existing Piano arrangement of the "Ave Maria"
> composed by Schubert.
>
>   The typesetter uses the traditional sustain pedal style.
>
>   The <c, c>2 chord is repeated with sustain on and off.
>
>   The ugliness in my engraving is two-fold:
>
>   First, the sustainOff end ('*') the following SustainOn are jammed together.
>
>   The second problem I can easily fix by making certain that there is
> a sustainOff prior to the forced line break. (No, I don't get that
> either)
>
>   Since this is repeated for the entire piece, I'd really like to
> place this in a variable.
>
>   Just not sure how to do that.
>
>   How is it that what is shown in the Notation Reference looks just
> fine and it looks ugly when I try it?
>
> Thanks,
> Ken Wolcott
>
> %%%%%%%%%%%%
>   <c, c>2\sustainOn q\sustainOff\sustainOn             | % m1
>   <c, c>2\sustainOff\sustainOn q\sustainOff\sustainOn  | % m2
> \break
>   <c, c>2\sustainOff\sustainOn q\sustainOff\sustainOn  | % m3
>   <c, c>2\sustainOff\sustainOn q\sustainOff\sustainOn  | % m4
> \break
> %%%%%%%%%%%%


reply via email to

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