1\version "2.17.6" 2\header 3{ 4 texidoc = "The standard piano pedals style comes with Ped symbols. 5The pedal string can be also tuned, for example, to a shorter tilde/P variant 6at the end of the melody." 7 8} 9 10 11\context Staff \relative c'{ 12 c4 d e f g 13 \sustainOn b c 14 c, d16[ c c c] e[ e \sustainOff \sustainOn e e ] f4 \sustainOff 15 g\sustainOn b \sustainOff c 16 \set Staff.pedalSustainStrings = #'("-" "-P" "P") 17 \override Staff.SustainPedal.padding = #-2 18 c, \sustainOn d e \sustainOff \sustainOn f 19 \sustainOff g b c 20} 21 22