]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/pedal-ped.ly
release commit
[lilypond.git] / input / regression / pedal-ped.ly
1 \version "2.1.22"
2 \header
3 {
4     texidoc = "Piano pedals: the standard style is with Ped symbols.
5 The string can be tuned. This example shows the shorter tilde/P variant
6 at the end of the melody."
7
8 }
9
10 \score{
11     \context Staff \notes\relative c'{
12         c4 d e f g
13         \sustainDown b c
14         c, d16[  c  c c]  e[ e \sustainUp \sustainDown e e ] f4 \sustainUp 
15         g\sustainDown  b \sustainUp c 
16         \set Staff.pedalSustainStrings = #'("-" "-P" "P")
17         \override Staff.SustainPedal   #'padding = #-2
18         c, \sustainDown d e \sustainUp \sustainDown f
19         \sustainUp g b c
20     }
21 }