]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/tuplet.ly
''
[lilypond.git] / input / test / tuplet.ly
index 5191612043dc1f9540907815536a70db0e073f30..4c9ab555893187c859a1f48abcb2dc729f8d79f9 100644 (file)
@@ -1,27 +1,38 @@
-\version "1.3.146"
+\version "1.5.50"
 
 
 \score { 
-  \context Voice \notes\relative c'' {
-
-       \times 2/3 { c'8 c,, c }
-       \times 2/3 { c'8 c'' c,, }
-
-  
-  \times 2/3 { [c8 c c]  }
-  \times 2/3 { c8 [c c]  }
-
-    \times 2/3 { [c8 c c]  }
-  \times 2/4 { r8 [c, c'] r8 }
-
-
-  
-  \property Voice.TupletBracket \set #'tuplet-bracket-visibility = #'if-no-beam  
-  \times 2/3 { [c8 c c]  }
-  \property Voice.TupletBracket \set #'direction = #1
-  \property Voice.TupletBracket \set #'tuplet-number-visibility = ##f
-  \times 2/3 { c8 [c c]  }
-    
-
-}
+    \context Voice \notes\relative c'' {
+
+       \times 2/3 { c'8 c,, c }
+       \times 2/3 { c'8 c'' c,, }
+
+       
+       \times 2/3 { [c8 c c]  }
+       \times 2/3 { c8 [c c]  }
+
+       \times 2/3 { [c8 c c]  }
+       \times 2/4 { r8 [c, c'] r8 }
+
+
+       
+       \property Voice.TupletBracket \override #'bracket-visibility = #'if-no-beam  
+       \times 2/3 { [c8 c c]  }
+       \property Voice.TupletBracket \override #'direction = #1
+       \property Voice.TupletBracket \override #'number-visibility = ##f
+       \times 2/3 { c8 [c c]  }
+       \property Voice.TupletBracket \revert #'number-visibility
+
+       \property Voice.TupletBracket \override #'bracket-visibility = ##t
+       \property Voice.TupletBracket \override #'edge-height = #'(0.0 . 0.0)
+       \property Voice.TupletBracket \override #'shorten-pair = #'(2.0 . 2.0)
+       \times 4/6 { c f b  b f c}      
+       \property Voice.TupletBracket \revert #'edge-height
+       \property Voice.TupletBracket \revert #'shorten-pair
+       \property Voice.TupletBracket \override #'edge-width = #'(-0.5 . 0.5)
+       \times 2/3 { b b b }
+       \property Voice.TupletBracket \revert #'direction
+       \times 2/3 { b b b }
+
+    }
 }