-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsong_template.ly
162 lines (152 loc) · 3.54 KB
/
song_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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
\include "articulate.ly"
\include "color-pitch.ly"
\include "predefined-guitar-fretboards.ly"
\version "2.19.50"
% voicetrainer: measures = 61
% voicetrainer: pages = 5
\header {
title = "Title"
composer = "Artist"
arranger = "arranged by: Tamara van Haarlem"
}
voicetrainerTempo = 72
voicetrainerKey = b,
global= {
\tempo 4=\voicetrainerTempo \time 4/4 \key b \minor
}
voiceStaff= \transpose b, \voicetrainerKey \relative c' {
\override NoteHead #'color = #color-notehead
\global
}
cello= \transpose b, \voicetrainerKey \relative c, {
\global
\clef bass
}
upperStaff= \transpose b, \voicetrainerKey \relative c' {
\global
}
lowerStaff= \transpose b, \voicetrainerKey \relative c {
\global
\clef bass
}
pianoDynamics = {
}
pianoPedal = {
s1\sustainOn
}
myChords= \chordmode {
\transpose b, \voicetrainerKey {
}
}
% sheetonly start
\book {
\score {
<<
\new ChordNames { \myChords }
\new FretBoards { \myChords }
% instrument start voice
\new Staff = "voice" <<
\set Staff.instrumentName = \markup { "Voice" }
\set Staff.shortInstrumentName = \markup { "V." }
\voiceStaff
\addlyrics {
}
>>
% instrument end voice
% instrument start cello
\new Staff = "cello" <<
\set Staff.instrumentName = \markup { "ViolonCello" }
\set Staff.shortInstrumentName = \markup { "C." }
\cello
>>
% instrument end cello
% instrument start piano
\new PianoStaff = "piano" <<
\new Staff {
\set Staff.midiInstrument = "acoustic grand"
\removeWithTag midi \upperStaff
}
\new Dynamics \pianoDynamics
\new Staff {
\set Staff.midiInstrument = "acoustic grand"
\removeWithTag midi \lowerStaff
}
\new Dynamics \pianoPedal
>>
% instrument end piano
>>
\layout {
\context {
\Staff \RemoveEmptyStaves
\override VerticalAxisGroup #'remove-first = ##t
}
\context {
\PianoStaff
\accepts Dynamics
}
}
}
}
% sheetonly end
% midionly start
\book {
\score {
\unfoldRepeats \articulate <<
% instrument start voice
\new Staff = "voice" <<
\set Staff.midiInstrument = "choir aahs"
\voiceStaff
>>
% instrument end voice
% instrument start cello
\new Staff = "cello" <<
\set Staff.midiInstrument = "cello"
\cello
>>
% instrument end cello
% instrument start piano
\new PianoStaff = "piano" <<
\new Staff = "piano:1" {
\set Staff.midiInstrument = "acoustic grand"
\new Voice <<
\new Dynamics \pianoDynamics
\upperStaff
\new Dynamics \pianoPedal
>>
}
\new Staff = "piano:2" {
\set Staff.midiInstrument = "acoustic grand"
\new Voice <<
\new Dynamics \pianoDynamics
\lowerStaff
\new Dynamics \pianoPedal
>>
}
>>
% instrument end piano
% instrument start metronome
\new DrumStaff = "metronome" {
\drummode {
\global
\repeat unfold 61 {
hiwoodblock4 lowoodblock wbl wbl
}
}
}
% instrument end metronome
>>
\midi {
\context {
\type "Performer_group"
\name Dynamics
\consists "Dynamic_performer"
\consists "Piano_pedal_performer"
}
\context {
\Voice
\accepts Dynamics
}
}
}
}
% midionly end