]> git.donarmstrong.com Git - lilypond.git/blob - input/test/beam-control.ly
* scripts/convert-ly.py (FatalConversionError.figures_replace):
[lilypond.git] / input / test / beam-control.ly
1
2 \version "1.9.4"
3 \header{
4     texidoc="@cindex Beam Position Control
5
6 Beam positions may be controlled manually, by setting @code{positions} in the @code{Beam} grob.
7
8 " }
9 \score { 
10     \context Voice \notes\relative c {
11         %% from upper staffline (position 4) to centre (position 0)
12         \property Voice.Beam \override #'positions = #'(2 . 0)
13          c'8[ c] 
14         
15         %% from center to one above centre (position 2)
16         \property Voice.Beam \override #'positions = #'(0 . 1)
17          c[ c]
18         
19         %% normal beam-algorithm
20         \property Voice.Beam \revert #'positions
21         \property Voice.Beam \revert #'positions
22          c[ e]  e[ c]
23   }
24 \paper{raggedright = ##t}
25 }
26