5 stemUp
= \override Stem
#'direction
= #1
6 stemDown
= \override Stem
#'direction
= #-
1
7 stemBoth
= \revert Stem
#'direction
9 slurUp
= \override Slur
#'direction
= #1
10 slurDown
= \override Slur
#'direction
= #-
1
11 slurBoth
= \revert Slur
#'direction
13 % There's also dash, but setting dash period/length should be fixed.
14 slurDotted
= \override Slur
#'dashed
= #1
15 slurSolid
= \revert Slur
#'dashed
18 phrasingSlurUp
= \override PhrasingSlur
#'direction
= #1
19 phrasingSlurDown
= \override PhrasingSlur
#'direction
= #-
1
20 phrasingSlurBoth
= \revert PhrasingSlur
#'direction
22 shiftOn
= \override NoteColumn
#'horizontal-shift
= #1
23 shiftOnn
= \override NoteColumn
#'horizontal-shift
= #2
24 shiftOnnn
= \override NoteColumn
#'horizontal-shift
= #3
25 shiftOff
= \revert NoteColumn
#'horizontal-shift
27 tieUp
= \override Tie
#'direction
= #1
28 tieDown
= \override Tie
#'direction
= #-
1
29 tieBoth
= \revert Tie
#'direction
31 tieDotted
= \override Tie
#'dashed
= #1
32 tieSolid
= \revert Tie
#'dashed
34 setEasyHeads
= \sequential {
35 \override NoteHead
#'print-function
= #Note
_head
::brew
_ez
_stencil
36 \override NoteHead
#'Y-extent-callback
= #'()
37 \override NoteHead
#'X-extent-callback
= #'()
41 \override DynamicText
#'direction
= #1
42 \override DynamicLineSpanner
#'direction
= #1
45 \override DynamicText
#'direction
= #-
1
46 \override DynamicLineSpanner
#'direction
= #-
1
49 \revert DynamicText
#'direction
50 \revert DynamicLineSpanner
#'direction
54 \override TextScript
#'direction
= #1
55 \override Script
#'direction
= #1
58 \override TextScript
#'direction
= #-
1
59 \override Script
#'direction
= #-
1
62 \revert TextScript
#'direction
63 \revert Script
#'direction
66 dotsUp
= \override Dots
#'direction
= #1
67 dotsDown
= \override Dots
#'direction
= #-
1
68 dotsBoth
= \revert Dots
#'direction
70 tupletUp
= \override TupletBracket
#'direction
= #1
71 tupletDown
= \override TupletBracket
#'direction
= #-
1
72 tupletBoth
= \revert TupletBracket
#'direction
74 cadenzaOn
= \set Timing
.timing
= ##f
76 \set Timing
.timing
= ##t
77 \set Timing
.measurePosition
= #(ly
:make-moment
0 1)
80 % dynamic ly:dir? text script, articulation script ly:dir?
81 oneVoice
= #(context-spec-music
(make-voice-props-revert
) 'Voice
)
82 voiceOne
= #(context-spec-music
(make-voice-props-set
0) 'Voice
)
83 voiceTwo
= #(context-spec-music
(make-voice-props-set
1) 'Voice
)
84 voiceThree
=#(context-spec-music
(make-voice-props-set
2) 'Voice
)
85 voiceFour
= #(context-spec-music
(make-voice-props-set
3) 'Voice
)
99 % End the incipit and print a ``normal line start''.
100 endincipit
= \notes \context Staff
{
101 \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
102 \once \override Staff
.Clef
#'full-size-change
= ##t
103 \once \override Staff
.Clef
#'non-default
= ##t
107 autoBeamOff
= \set autoBeaming
= ##f
108 autoBeamOn
= \set autoBeaming
= ##t
110 fatText
= \override TextScript
#'no-spacing-rods
= ##f
111 emptyText
= \override TextScript
#'no-spacing-rods
= ##t
113 showStaffSwitch
= \set followVoice
= ##t
114 hideStaffSwitch
= \set followVoice
= ##f
118 % To remove a Volta bracket or some other graphical object,
119 % set it to turnOff. Example: \set Staff.VoltaBracket = \turnOff
122 %% DO NOT USE THIS. IT CAN LEAD TO CRASHES.
123 turnOff
= #(cons
'() '())
125 % For drawing vertical chord brackets with \arpeggio
126 % This is a shorthand for the value of the print-function property
127 % of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether
128 % cross-staff brackets are desired.
130 arpeggio
= #(make-music
'ArpeggioEvent
)
132 arpeggioUp
= \sequential {
133 \revert Arpeggio
#'print-function
134 \override Arpeggio
#'arpeggio-direction
= #1
136 arpeggioDown
= \sequential {
137 \revert Arpeggio
#'print-function
138 \override Arpeggio
#'arpeggio-direction
= #-
1
140 arpeggioBoth
= \sequential {
141 \revert Arpeggio
#'print-function
142 \revert Arpeggio
#'arpeggio-direction
144 arpeggioBracket
= \sequential {
145 \override Arpeggio
#'print-function
= #Arpeggio
::brew
_chord
_bracket
148 glissando
= #(make-music
'GlissandoEvent
)
150 fermataMarkup
= \markup { \musicglyph #"scripts-ufermata" }
153 \once \override MultiMeasureRestNumber
#'text
=
157 hideNotes
=\sequential {
158 % hide notes, accidentals, etc.
159 \override Dots
#'transparent
= ##t
160 \override NoteHead
#'transparent
= ##t
161 \override Stem
#'transparent
= ##t
162 \override Beam
#'transparent
= ##t
163 \override Staff
.Accidental
#'transparent
= ##t
167 unHideNotes
= \sequential {
168 \revert Staff
.Accidental
#'transparent
169 \revert Beam
#'transparent
170 \revert Stem
#'transparent
171 \revert NoteHead
#'transparent
172 \revert Dots
#'transparent
176 \set chordRootNamer
= #(chord-name-
>german-markup
#t
)
177 \set chordNoteNamer
= #note-name-
>german-markup
180 \set chordRootNamer
= #(chord-name-
>german-markup
#f)
181 \set chordNoteNamer
= #note-name-
>german-markup