]> git.donarmstrong.com Git - lilypond.git/blob - input/test/pedal.ly
Add texidoc index and a few comments.
[lilypond.git] / input / test / pedal.ly
1 \version "1.7.18"
2
3 \header{ texidoc = "@cindex Pedal
4 Piano pedal symbols merge stop and start.  The strings are configurable. 
5 Text style, bracket style, and a mixture of both are supported.  "
6 }
7
8 \score{
9     \context Staff \notes\relative c'{
10
11         c4 d e f g
12         -\sustainDown b c
13         c,  d16-[  c  c c]  e-[ e -\sustainUp -\sustainDown e e ] f4 -\sustainUp 
14         g-\sustainDown  b -\sustainUp c 
15         \property Staff.pedalSustainStrings = #'("-" "-P" "P")
16         \property Staff.SustainPedal \override #'padding = #-2
17         c, -\sustainDown d e -\sustainUp -\sustainDown f
18         -\sustainUp g b c
19
20         \property Staff.SustainPedal \override #'pedal-type = #'bracket
21
22         c4 d e -\sustainDown b c c, -\sustainUp -\sustainDown  d8-[ c]  e8-[ e -\sustainUp -\sustainDown] f4 d
23         -\sustainUp g -\sustainDown b b, -\sustainUp c'
24
25         \property Staff.UnaCordaPedal \override #'pedal-type = #'mixed
26
27         c4 d \unaCorda e f g
28         b \treCorde c
29
30     }
31 }
32 %% new-chords-done %%