blob: 708d0e0e1f98ff6c22f6992ec927765cb5b93668 (
about) (
plain)
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
|
%% Two scores are needed to separately control MIDI and notation
%% output.
\score {
\unfoldRepeats {
<<
\AllMusicMIDI
\new DrumStaff { \click }
>>
}
\midi {}
}
\score {
%% Always unfold repeats in the big score. The individual parts can
%% have repeats as they wish.
\unfoldRepeats { \AllMusic }
\layout {
\context {
%% add the RemoveEmptyStaffContext that erases rest-only staves
\Staff \RemoveEmptyStaves
}
\context {
\Score
\numericTimeSignature
markFormatter = #format-mark-box-alphabet
%% Remove all-rest staves also in the first system
\override VerticalAxisGroup.remove-first = ##t
%% If only one non-empty staff in a system exists, still print the starting bar
\override SystemStartBar.collapse-height = #1
}
}
}
|