Revert "Fix syntax error in fret-diagrams.ly"
[lilypond/csorensen.git] / input / lsr / printing-music-with-different-time-signatures.ly
blob14fda53293d85072964676e0602ed42ab075fae4
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.48"
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
18 % Thanks to Adam James Wilson for this snippet
20 \paper {
21 indent = #0
22 ragged-right = ##t
25 global = { \time 3/4 { s2.*3 } \bar "" \break { s2.*3 } }
27 \layout {
28 \context {
29 \Score
30 \remove "Timing_translator"
31 \remove "Time_signature_engraver"
32 \remove "Default_bar_line_engraver"
33 \override SpacingSpanner #'uniform-stretching = ##t
34 \override SpacingSpanner #'strict-note-spacing = ##t
35 proportionalNotationDuration = #(ly:make-moment 1 64)
37 \context {
38 \Staff
39 \consists "Timing_translator"
40 \consists "Default_bar_line_engraver"
41 \consists "Time_signature_engraver"
43 \context {
44 \Voice
45 \remove "Forbid_line_break_engraver"
46 tupletFullLength = ##t
50 Bassklarinette = \new Staff <<
51 \global {
52 \bar "|"
53 \clef treble
54 \time 3/8
55 d''4.
57 \bar "|"
58 \time 3/4
59 r8 des''2( c''8)
61 \bar "|"
62 \time 7/8
63 r4. ees''2 ~
65 \bar "|"
66 \time 2/4
67 \tupletUp
68 \times 2/3 { ees''4 r4 d''4 ~ }
70 \bar "|"
71 \time 3/8
72 \tupletUp
73 \times 3/4 { d''4 r4 }
75 \bar "|"
76 \time 2/4
77 e''2
79 \bar "|"
80 \time 3/8
81 es''4.
83 \bar "|"
84 \time 3/4
85 r8 d''2 r8
86 \bar "|"
90 Perkussion = \new StaffGroup <<
91 \new Staff <<
92 \global {
93 \bar "|"
94 \clef percussion
95 \time 3/4
96 r4 c'2 ~
98 \bar "|"
99 c'2.
101 \bar "|"
104 \bar "|"
105 r2 g'4 ~
107 \bar "|"
108 g'2. ~
110 \bar "|"
111 g'2.
114 \new Staff <<
115 \global {
116 \bar "|"
117 \clef percussion
118 \time 3/4
121 \bar "|"
122 g'2. ~
124 \bar "|"
125 g'2.
127 \bar "|"
128 r4 g'2 ~
130 \bar "|"
131 g'2 r4
133 \bar "|"
134 g'2.
139 \score {
140 << \Bassklarinette \Perkussion >>