]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/pedal-bracket.ly
Merge branch 'stable'
[lilypond.git] / input / regression / pedal-bracket.ly
index 5f2d7588efd0d0309a5ad7ab74987168dd2940d7..b8659e362575494d6b80902da3fdbc9c3b35192a 100644 (file)
@@ -1,24 +1,25 @@
+\version "2.12.0"
 
 \header {
 
-    texidoc = "Piano pedal brackets.  Brackets should start and end at
+    texidoc = "The brackets of a piano pedal should start and end at
  the left side of the note. If a note is shared between two brackets,
- the ends are flared.
+ these ends are flared.
 
-There are no vertical endings at a line-break.  " }
+At a line-break, there are no vertical endings.  " }
 
 \score {
-    \notes \relative c'' {
-        \property Staff.pedalSustainStyle = #'bracket
+     \relative c'' {
+        \set Staff.pedalSustainStyle = #'bracket
 
-        c4 d e \sustainDown b c c, \sustainUp \sustainDown  d8[ c]  e8[ 
-           e \sustainUp \sustainDown] f4 d
-        \sustainUp g \sustainDown b b, \sustainUp c'
+        c4 d e \sustainOn b c c, \sustainOff \sustainOn  d8[ c]  e8[ 
+           e \sustainOff \sustainOn]  f4 d
+        \sustainOff g \sustainOn b b, \sustainOff c'
 
-        \property Staff.pedalUnaCordaStyle = #'mixed
+        \set Staff.pedalUnaCordaStyle = #'mixed
 
         c4 d \unaCorda e f g
         b  | \break c b c \treCorde c
     }
-    \paper { raggedright = ##t }
+    \layout { ragged-right = ##t }
 }