blob: e8c23270bcf7fd42876d07e4b0cf7dbf9cc28044 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
\version "2.19.27"
\header {
= "Song 2"
= "The very pretentious elephlies"
= \markup { \char ##x00A9 "2002—2016 Ricardo Wurmus" }
}
\include "../settings.ly"
\include "music/bass.ly"
\include "music/keys.ly"
\include "music/stick.ly"
\include "music/guitar.ly"
\include "music/click.ly"
\layout {
ragged-last = ##t
indent = 2\cm
short-indent = 1.5\cm
}
AllMusic = <<
\new PianoStaff = "keyboard"
\with {
instrumentName = #"Synthesizer"
shortInstrumentName = #"Synth"
pedalSustainStyle = #'bracket
} {
<<
\new Staff {
\clef treble
\keyboard
}
>>
}
\new StaffGroup = "bass"
\with {
instrumentName = #"Bass"
shortInstrumentName = #"Bass"
} { \bass }
\new PianoStaff = "grand stick"
\with {
instrumentName = #"Grand Stick"
shortInstrumentName = #"Stick"
midiInstrument = #"clav"
pedalSustainStyle = #'bracket
} { \stick }
\new TabStaff = "acoustic guitar"
\with {
stringTunings = #guitar-tuning
\RemoveEmptyStaves
\tabFullNotation
instrumentName = #"Acoustic Guitar"
shortInstrumentName = #"Guitar"
} { \tabChordRepeats \guitar }
>>
%% Two scores are needed: one with unfolded repeats for MIDI and the
%% other with regular repeats for notation.
\score {
\unfoldRepeats {
<<
\AllMusic
\new DrumStaff { \click }
>>
}
\midi { \tempo 4 = 90 }
}
\score {
\AllMusic
\layout {
\tempo 4 = 90
\context {
%% add the RemoveEmptyStaffContext that erases rest-only staves
\Staff \RemoveEmptyStaves
}
\context {
\Score
\numericTimeSignature
%% 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
}
}
}
|