blob: 23149d13659df26ef6aa162feb604d9180e61368 (
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
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
163
164
165
166
167
168
169
170
|
% property-init.ly
\version "2.3.17"
stemUp = \override Stem #'direction = #1
stemDown = \override Stem #'direction = #-1
stemNeutral= \revert Stem #'direction
slurUp = \override Slur #'direction = #1
slurDown = \override Slur #'direction = #-1
slurNeutral = \revert Slur #'direction
% There's also dash, but setting dash period/length should be fixed.
slurDotted = \override Slur #'dashed = #1
slurSolid = \revert Slur #'dashed
phrasingSlurUp = \override PhrasingSlur #'direction = #1
phrasingSlurDown = \override PhrasingSlur #'direction = #-1
phrasingSlurNeutral = \revert PhrasingSlur #'direction
shiftOn = \override NoteColumn #'horizontal-shift = #1
shiftOnn = \override NoteColumn #'horizontal-shift = #2
shiftOnnn = \override NoteColumn #'horizontal-shift = #3
shiftOff = \revert NoteColumn #'horizontal-shift
tieUp = \override Tie #'direction = #1
tieDown = \override Tie #'direction = #-1
tieNeutral = \revert Tie #'direction
tieDotted = \override Tie #'dashed = #1
tieSolid = \revert Tie #'dashed
setEasyHeads = \sequential {
\override NoteHead #'print-function = #Note_head::brew_ez_stencil
\override NoteHead #'Y-extent-callback = #'()
\override NoteHead #'X-extent-callback = #'()
}
dynamicUp = {
\override DynamicText #'direction = #1
\override DynamicLineSpanner #'direction = #1
}
dynamicDown = {
\override DynamicText #'direction = #-1
\override DynamicLineSpanner #'direction = #-1
}
dynamicNeutral = {
\revert DynamicText #'direction
\revert DynamicLineSpanner #'direction
}
dotsUp = \override Dots #'direction = #1
dotsDown = \override Dots #'direction = #-1
dotsNeutral = \revert Dots #'direction
tupletUp = \override TupletBracket #'direction = #1
tupletDown = \override TupletBracket #'direction = #-1
tupletNeutral = \revert TupletBracket #'direction
cadenzaOn = \set Timing.timing = ##f
cadenzaOff = {
\set Timing.timing = ##t
\set Timing.measurePosition = #(ly:make-moment 0 1)
}
% dynamic ly:dir? text script, articulation script ly:dir?
oneVoice = #(context-spec-music (make-voice-props-revert) 'Voice)
voiceOne = #(context-spec-music (make-voice-props-set 0) 'Voice)
voiceTwo = #(context-spec-music (make-voice-props-set 1) 'Voice)
voiceThree =#(context-spec-music (make-voice-props-set 2) 'Voice)
voiceFour = #(context-spec-music (make-voice-props-set 3) 'Voice)
tiny =
\set fontSize = #-2
small =
\set fontSize = #-1
normalsize = {
\set fontSize = #0
}
% End the incipit and print a ``normal line start''.
endincipit = \context Staff {
\partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
\once \override Staff.Clef #'full-size-change = ##t
\once \override Staff.Clef #'non-default = ##t
\bar ""
}
autoBeamOff = \set autoBeaming = ##f
autoBeamOn = \set autoBeaming = ##t
fatText = \override TextScript #'no-spacing-rods = ##f
emptyText = \override TextScript #'no-spacing-rods = ##t
showStaffSwitch = \set followVoice = ##t
hideStaffSwitch = \set followVoice = ##f
% For drawing vertical chord brackets with \arpeggio
% This is a shorthand for the value of the print-function property
% of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether
% cross-staff brackets are desired.
arpeggio = #(make-music 'ArpeggioEvent)
arpeggioUp = \sequential {
\revert Arpeggio #'print-function
\override Arpeggio #'arpeggio-direction = #1
}
arpeggioDown = \sequential {
\revert Arpeggio #'print-function
\override Arpeggio #'arpeggio-direction = #-1
}
arpeggioNeutral = \sequential {
\revert Arpeggio #'print-function
\revert Arpeggio #'arpeggio-direction
}
arpeggioBracket = \sequential {
\override Arpeggio #'print-function = #Arpeggio::brew_chord_bracket
}
glissando = #(make-music 'GlissandoEvent)
fermataMarkup = \markup { \musicglyph #"scripts-ufermata" }
hideNotes =\sequential {
% hide notes, accidentals, etc.
\override Dots #'transparent = ##t
\override NoteHead #'transparent = ##t
\override Stem #'transparent = ##t
\override Beam #'transparent = ##t
\override Accidental #'transparent = ##t
}
unHideNotes = \sequential {
\revert Accidental #'transparent
\revert Beam #'transparent
\revert Stem #'transparent
\revert NoteHead #'transparent
\revert Dots #'transparent
}
germanChords = {
\set chordRootNamer = #(chord-name->german-markup #t)
\set chordNoteNamer = #note-name->german-markup
}
semiGermanChords = {
\set chordRootNamer = #(chord-name->german-markup #f)
\set chordNoteNamer = #note-name->german-markup
}
improvisationOn = {
\set squashedPosition = #0
\override NoteHead #'style = #'slash
}
improvisationOff = {
\unset squashedPosition
\revert NoteHead #'style
}
|