5 stemUp = \property Voice.Stem \set #'direction = #1
6 stemDown = \property Voice.Stem \set #'direction = #-1
7 stemBoth= \property Voice.Stem \revert #'direction
9 slurUp = \property Voice.Slur \set #'direction = #1
10 slurDown = \property Voice.Slur \set #'direction = #-1
11 slurBoth = \property Voice.Slur \revert #'direction
13 phrasingSlurUp = \property Voice.PhrasingSlur \set #'direction = #1
14 phrasingSlurDown = \property Voice.PhrasingSlur \set #'direction = #-1
15 phrasingSlurBoth = \property Voice.PhrasingSlur \revert #'direction
17 shiftOn = \property Voice.NoteColumn \set #'horizontal-shift = #1
18 shiftOnn = \property Voice.NoteColumn \set #'horizontal-shift = #2
19 shiftOnnn = \property Voice.NoteColumn \set #'horizontal-shift = #3
20 shiftOff = \property Voice.NoteColumn \revert #'horizontal-shift
22 tieUp = \property Voice.Tie \set #'direction = #1
23 tieDown = \property Voice.Tie \set #'direction = #-1
24 tieBoth = \property Voice.Tie \revert #'direction
27 \property Voice.DynamicText \set #'direction = #1
28 \property Voice.DynamicLineSpanner \set #'direction = #1
31 \property Voice.DynamicText \set #'direction = #-1
32 \property Voice.DynamicLineSpanner \set #'direction = #-1
35 \property Voice.DynamicText \revert #'direction
36 \property Voice.DynamicLineSpanner \revert #'direction
40 \property Voice.TextScript \set #'direction = #1
41 \property Voice.Script \set #'direction = #1
44 \property Voice.TextScript \set #'direction = #-1
45 \property Voice.Script \set #'direction = #-1
48 \property Voice.TextScript \revert #'direction
49 \property Voice.Script \revert #'direction
52 dotsUp = \property Voice.Dots \set #'direction = #1
53 dotsDown = \property Voice.Dots \set #'direction = #-1
54 dotsBoth = \property Voice.Dots \revert #'direction
58 \property Voice.TupletBracket \set #'direction = #1
61 \property Voice.TupletBracket \set #'direction = #-1
64 \property Voice.TupletBracket \revert #'direction
69 cadenzaOn = \property Score.timing = ##f
71 \property Score.timing = ##t
72 \property Score.measurePosition = #(make-moment 0 1)
77 % urg, only works for TeX output
78 \context Score \outputproperty #(make-type-checker 'paper-column-interface)
79 #'between-system-string = #"\\newpage"
82 % dynamic dir? text script, articulation script dir?
83 oneVoice = #(context-spec-music (make-voice-props-revert) "Voice")
84 voiceOne = #(context-spec-music (make-voice-props-set 0) "Voice")
85 voiceTwo = #(context-spec-music (make-voice-props-set 1) "Voice")
86 voiceThree =#(context-spec-music (make-voice-props-set 2) "Voice")
87 voiceFour = #(context-spec-music (make-voice-props-set 3) "Voice")
89 % There's also dash, but setting dash period/length should be fixed.
90 slurDotted = \property Voice.Slur \set #'dashed = #1
91 slurSolid = \property Voice.Slur \revert #'dashed
92 tieDotted = \property Voice.Tie \set #'dashed = #1
93 tieSolid = \property Voice.Tie \revert #'dashed
97 \property Voice.fontSize= #-2
100 \property Voice.fontSize= #-1
104 \property Voice.fontSize= #0
108 \property Staff.keyOctaviation = ##f
112 \property Staff.keyOctaviation = ##t
115 % End the incipit and print a ``normal line start''.
117 \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
118 \context Staff \outputproperty #(make-type-checker 'clef-interface) #'full-size-change = ##t
119 \context Staff \outputproperty #(make-type-checker 'clef-interface) #'non-default = ##t
123 autoBeamOff = \property Voice.autoBeaming = ##f
124 autoBeamOn = \property Voice.autoBeaming = ##t
126 fatText = \property Voice.TextScript \set #'no-spacing-rods = ##f
127 emptyText = \property Voice.TextScript \set #'no-spacing-rods = ##t
129 showStaffSwitch = \property Voice.followVoice = ##t
130 hideStaffSwitch = \property Voice.followVoice = ##f
132 % accidentals as they were common in the 18th century.
133 defaultAccidentals = {
134 \property Current.extraNatural = ##t
135 \property Current.autoAccidentals = #'(Staff (same-octave . 0))
136 \property Current.autoCautionaries = #'()
139 % accidentals in voices instead of staves.
140 % Notice that accidentals from one voice do NOT get cancelled in other voices
142 \property Current.extraNatural = ##t
143 \property Current.autoAccidentals = #'(Voice (same-octave . 0))
144 \property Current.autoCautionaries = #'()
148 % accidentals as suggested by Kurt Stone, Music Notation in the 20th century.
149 % This includes all the default accidentals, but accidentals also needs cancelling
150 % in other octaves and in the next measure.
151 modernAccidentals = {
152 \property Current.extraNatural = ##f
153 \property Current.autoAccidentals = #'(Staff (same-octave . 0) (any-octave . 0) (same-octave . 1))
154 \property Current.autoCautionaries = #'()
157 % the accidentals that Stone adds to the old standard as cautionaries
158 modernCautionaries = {
159 \property Current.extraNatural = ##f
160 \property Current.autoAccidentals = #'(Staff (same-octave . 0))
161 \property Current.autoCautionaries = #'(Staff (any-octave . 0) (same-octave . 1))
164 % Multivoice accidentals to be read both by musicians playing one voice
165 % and musicians playing all voices.
166 % Accidentals are typeset for each voice, but they ARE cancelled across voices.
167 modernVoiceAccidentals = {
168 \property Current.extraNatural = ##f
169 \property Current.autoAccidentals = #'(
170 Voice (same-octave . 0) (any-octave . 0) (same-octave . 1)
171 Staff (same-octave . 0) (any-octave . 0) (same-octave . 1)
173 \property Current.autoCautionaries = #'()
176 % same as modernVoiceAccidental eccept that all special accidentals are typeset
178 modernVoiceCautionaries = {
179 \property Current.extraNatural = ##f
180 \property Current.autoAccidentals = #'(
181 Voice (same-octave . 0)
183 \property Current.autoCautionaries = #'(
184 Voice (any-octave . 0) (same-octave . 1)
185 Staff (same-octave . 0) (any-octave . 0) (same-octave . 1)
189 % stone's suggestions for accidentals on grand staff.
190 % Accidentals are cancelled across the staves in the same grand staff as well
192 \property Current.autoAccidentals = #'(
193 Staff (same-octave . 0) (any-octave . 0) (same-octave . 1)
194 GrandStaff (any-octave . 0) (same-octave . 1)
196 \property Current.autoCautionaries = #'()
199 pianoCautionaries = {
200 \property Current.autoAccidentals = #'(
201 Staff (same-octave . 0)
203 \property Current.autoCautionaries = #'(
204 Staff (any-octave . 0) (same-octave . 1)
205 GrandStaff (any-octave . 0) (same-octave . 1)
210 % Do not reset the key at the start of a measure. Accidentals will be
211 % printed only once and are in effect until overridden, possibly many
214 \property Current.autoAccidentals = #'(Staff (same-octave . #t))
215 \property Current.autoCautionaries = #'()
218 % do not set localKeySignature when a note alterated differently from
219 % localKeySignature is found.
220 % Causes accidentals to be printed at every note instead of
221 % remembered for the duration of a measure.
222 % accidentals not being remembered, causing accidentals always to be typeset relative to the time signature
223 forgetAccidentals = {
224 \property Current.autoAccidentals = #'(Staff (same-octave . -1))
225 \property Current.autoCautionaries = #'()
229 % To remove a Volta bracket or some other graphical object,
230 % set it to turnOff. Example: \property Staff.VoltaBracket = \turnOff
234 % For drawing vertical chord brackets with \arpeggio
235 % This is a shorthand for the value of the molecule-callback property
236 % of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether
237 % cross-staff brackets are desired.
239 arpeggioBracket = #(lambda (grob) (Arpeggio::brew_chord_bracket grob))