]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/pedal-bracket.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / pedal-bracket.ly
index ff66cc47aa755519c9b383fd7c5b7271b13c8252..f7f6319c433bd1e0dfe5f1cbaf7deccf86da28c0 100644 (file)
@@ -1,25 +1,29 @@
-\version "2.14.0"
+\version "2.16.0"
 
 \header {
 
     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,
- these ends are flared.
+ the left side of the main note-column. If a note is shared between
+ two brackets, these ends are flared.
 
-At a line-break, there are no vertical endings.  " }
+At a line-break, there are no vertical endings.  Pedal changes can
+be placed at spacer rests." }
 
 \score {
      \relative c'' {
         \set Staff.pedalSustainStyle = #'bracket
 
-        c4 d e \sustainOn b c c, \sustainOff \sustainOn  d8[ c]  e8[ 
-           e \sustainOff \sustainOn]  f4 d
-        \sustainOff g \sustainOn b b, \sustainOff c'
+        c4 d <e f b,> \sustainOn b c c, \sustainOff \sustainOn  d8[ c]  e8[
+            e \sustainOff \sustainOn]  f4 r \sustainOff
+            g \sustainOn bes bes, \sustainOff c'
 
         \set Staff.pedalUnaCordaStyle = #'mixed
 
-        c4 d \unaCorda e f g
-        b  | \break c b c \treCorde c
+        c4 d \unaCorda e f g b \break
+        \mark "long mark"
+        c b <c e,>\arpeggio \treCorde c |
+        b8\sustainOn g d b <<c2 {s4 s4\sustainOff\sustainOn }>> |
+        g1
     }
     \layout { ragged-right = ##t }
 }