In Lilypond, I'm engraving a chunk of piano music which uses the Ped. symbol, but does not use the corresponding * to end the pedalling.
Here's a chunk of code which gets the right visual result:
\version "2.18.2"
upper = \relative c'' {
\clef treble
a4 b c d
}
lower = \relative c {
\clef bass
a2 c
}
pedal = {
s4\sustainOn s s s\sustainOff
}
\score {
\new PianoStaff <<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
\new Dynamics = "pedal" \with {
pedalSustainStrings = #'("Ped." "*Ped." "")
} \pedal
>>
\layout { }
}
Note the #'("Ped." "*Ped." "")
bit.
But that also produces a warning:
warning: SustainPedal has empty extent and non-empty stencil.
I've got 7 pages of music with pedaling every 2-3 measures. I'm not going to make it to the end with that many warnings popping out every time. Is there some better/more correct way of suppressing that symbol?
-l ERROR
.