]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/pedal.ly
''
[lilypond.git] / input / regression / pedal.ly
1 \version "1.5.38"
2 \header{
3 texidoc = "Piano pedal symbols merge stop and start.  The strings are configurable. 
4 Text style, bracket style, and a mixture of both are supported.
5 Brackets work  across line breaks.
6
7 "
8
9 }
10
11
12
13
14 \score{
15 \context Staff \notes\relative c'{
16
17 c4 d e f g 
18 \sustainDown b c c, |
19   [d16  c  c c] [e e \sustainUp \sustainDown e e ] f4 \sustainUp
20     g\sustainDown |
21   b \sustainUp c 
22   \property Staff.pedalSustainStrings = #'("-" "-P" "P")
23   \property Staff.SustainPedal \override #'padding = #-2
24   c, \sustainDown d e \sustainUp \sustainDown f
25   \sustainUp g b 
26
27   \property Staff.UnaCordaPedal \override #'pedal-type = #'mixed
28   d \unaCorda e f g
29   \break
30    | b b b  \treCorde c |
31
32
33 \property Staff.SustainPedal \override #'pedal-type = #'bracket
34
35 c4 d e \sustainDown b c c, \sustainUp \sustainDown [d8 c] [e8 e \sustainUp \sustainDown] f4 d
36 \sustainUp g \sustainDown b b, \sustainUp c'
37 c4 
38
39
40
41 }
42 \paper{
43 }
44 \midi{
45 \tempo 4 = 60
46 }
47 }