]> git.donarmstrong.com Git - lilypond.git/blob - input/proportional.ly
* lily/beam.cc (rest_collision_callback): call position_beam() if
[lilypond.git] / input / proportional.ly
1 \header
2 {
3   title  = "Proportional notation"
4 }
5
6 \version "2.7.4"
7
8 %% RhythmicStaff broken with 32nd rests ? 
9
10 \layout
11 {
12   indent = #0.0 
13   \context {
14     \Voice
15     \remove "Forbid_line_break_engraver"
16     tupletNumberFormatFunction = #fraction-tuplet-formatter
17     tupletFullLength = ##t
18     allowBeamBreak = ##t
19   }
20   \context {
21     \Score
22     \override SpacingSpanner #'uniform-stretching = ##t
23     \override SpacingSpanner #'strict-note-spacing = ##t
24     proportionalNotationDuration = #(ly:make-moment 1 64)
25     \override TimeSignature #'break-visibility = #end-of-line-invisible
26     \override Beam #'break-overshoot = #'(-0.5 . 1.0)
27   }
28   \context {
29
30     % we want over print if necessary.
31     \RhythmicStaff
32     \remove "Separating_line_group_engraver"
33   }
34 }
35
36 staffKind = "RhythmicStaff"
37
38 %staffKind = "Staff"
39
40 \relative c''
41 \new StaffGroup <<
42   \new \staffKind \new Voice <<
43     {
44       \skip 2
45       \skip 2
46       \break \time 4/8
47       
48       \skip 1 \break \time 4/8
49       \skip 2 \time 1/8
50     }
51     
52     {
53     \time 4/8 
54
55     \times 7/9 {
56       \times 4/6 {
57         r8 r32[ c c c c c c c] r4
58         r32[ c32 c16 }
59         \times 5/4 {
60           c16 c c] r32[ c32 c16 c] r8 }
61       }
62    \times 10/12 {
63      \times 7/6 {
64           r32[ c16. c32 c16.] r4
65           r16[ c16 c16. c32
66      }
67      \times 5/8 {
68           c16 c16 c16. c32] r8 c8[ c8] r4.
69      }
70    }
71     %{
72     \times 10/12 {
73       \times 7/6 {
74         r32[ c32. c16 c16.] r4
75         r16[ c16 c16. c32
76            }       
77         \times 5/8 {
78           c16 c c16. c32] r8 c8[ c] r4
79       }
80     }
81     %}
82
83     \times 4/7 {
84       r8
85       r16[ c16
86         \times 5/4 {
87           c16 r16 c8 c c
88         }
89     }
90       
91     \times 3/4 {
92       c8]
93       r16[ c
94            \times  2/3 {
95              c16 r16]
96            r4 }
97     }
98   }  
99     >>
100   \new \staffKind \new Voice
101   <<
102   {
103     \times 9/5 {
104       r8. c16[ c c
105                \grace {
106                  \stemDown
107                  c32[ c32]
108                  \stemNeutral 
109                }
110                c16 c c
111       c 
112     }
113     \times 4/7 {
114       c16 c c c ]
115       \times 5/4 {
116         c16[ c32 c32]
117         r4
118         c32[ c c16
119       }
120     }
121     \times 10/12 {
122       \times 7/10 {
123         c16 c16 c8] r8 r4
124         r8.[ c32 c16 c r8 c16 c16 
125       }
126       c16 c32 c32]
127       r4.
128       r16.[
129       c32 
130     }
131     c16 r16]
132
133   }
134   { \skip 2 * 6 } % filler space. 
135   >>
136 >>
137
138                  
139     
140