LSR: Update.
[lilypond.git] / input / lsr / printing-music-with-different-time-signatures.ly
blob2d82b4e358e0e1e6dcf272a8f30ee5d71898a3a7
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.53"
5 \header {
6 lsrtags = "rhythms, percussion"
8 texidoc = "
9 In the following snippet, two parts have a completely different time
10 signature, yet remain synchronized. The bar lines can no longer be
11 printed at the @code{Score} level; to allow independent bar lines in
12 each part, the @code{Barline_engraver} is moved from the @code{Score}
13 context to the @code{Staff} context.
16 doctitle = "Printing music with different time signatures"
17 } % begin verbatim
19 \paper {
20 indent = #0
21 ragged-right = ##t
24 global = { \time 3/4 { s2.*3 } \bar "" \break { s2.*3 } }
26 \layout {
27 \context {
28 \Score
29 \remove "Timing_translator"
30 \remove "Time_signature_engraver"
31 \remove "Default_bar_line_engraver"
32 \override SpacingSpanner #'uniform-stretching = ##t
33 \override SpacingSpanner #'strict-note-spacing = ##t
34 proportionalNotationDuration = #(ly:make-moment 1 64)
36 \context {
37 \Staff
38 \consists "Timing_translator"
39 \consists "Default_bar_line_engraver"
40 \consists "Time_signature_engraver"
42 \context {
43 \Voice
44 \remove "Forbid_line_break_engraver"
45 tupletFullLength = ##t
49 Bassklarinette = \new Staff <<
50 \global {
51 \bar "|"
52 \clef treble
53 \time 3/8
54 d''4.
56 \bar "|"
57 \time 3/4
58 r8 des''2( c''8)
60 \bar "|"
61 \time 7/8
62 r4. ees''2 ~
64 \bar "|"
65 \time 2/4
66 \tupletUp
67 \times 2/3 { ees''4 r4 d''4 ~ }
69 \bar "|"
70 \time 3/8
71 \tupletUp
72 \times 3/4 { d''4 r4 }
74 \bar "|"
75 \time 2/4
76 e''2
78 \bar "|"
79 \time 3/8
80 es''4.
82 \bar "|"
83 \time 3/4
84 r8 d''2 r8
85 \bar "|"
89 Perkussion = \new StaffGroup <<
90 \new Staff <<
91 \global {
92 \bar "|"
93 \clef percussion
94 \time 3/4
95 r4 c'2 ~
97 \bar "|"
98 c'2.
100 \bar "|"
103 \bar "|"
104 r2 g'4 ~
106 \bar "|"
107 g'2. ~
109 \bar "|"
110 g'2.
113 \new Staff <<
114 \global {
115 \bar "|"
116 \clef percussion
117 \time 3/4
120 \bar "|"
121 g'2. ~
123 \bar "|"
124 g'2.
126 \bar "|"
127 r4 g'2 ~
129 \bar "|"
130 g'2 r4
132 \bar "|"
133 g'2.
138 \score {
139 << \Bassklarinette \Perkussion >>