-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.ly
38 lines (30 loc) · 911 Bytes
/
template.ly
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
\version "2.22.1"
\pointAndClickOff
\header {
title = "Clapping Music"
composer = "Steve Reich."
}
\paper {
left-margin = 18\mm
markup-system-spacing.basic-distance = 10
}
\layout {
indent = 0\mm
ragged-right = ##t
}
musa = \drummode { {% for bar in a %}{%- for note in bar %}{{ 'cgh8' if note else 'r8' }} {% endfor %}\bar ":|.|:" {% endfor %} }
musb = \drummode { {% for bar in b %}{% for note in bar %}{{ 'cgl8' if note else 'r8' }} {% endfor %}\bar ":|.|:" {% endfor %} }
<<
\time 12/8
\new DrumStaff \with {
instrumentName = "Clap 1 "
shortInstrumentName = "Cl. 1 "
\remove "Time_signature_engraver"
\override StaffSymbol.line-count = #1
\override Rest.staff-position = 0 } \musa
\new DrumStaff \with {
instrumentName = "Clap 2 "
shortInstrumentName = "Cl. 2 "
\remove "Time_signature_engraver"
\override StaffSymbol.line-count = #1 } \musb
>>