%% (palm mute, harmonics, dead notes, ...)
defaultNoteHeads =
#(define-music-function (parser location) ()
- (_i "Revert to the default note head style.")
- (revert-head-style '(NoteHead TabNoteHead)))
+ (_i "Revert to the default note head style.")
+ (context-spec-music
+ (revert-head-style '(NoteHead TabNoteHead)) 'Bottom))
accidentalStyle =
#(define-music-function
fermataMarkup =
#(make-music 'MultiMeasureTextEvent
- ;; Set the 'text based on the 'direction
- 'text (make-fermata-markup)
+ ;; Set the 'text based on the 'direction
+ 'text (make-fermata-markup)
'tweaks '((outside-staff-priority . 40)
- (outside-staff-padding . 0)))
+ (outside-staff-padding . 0)))
%% font sizes
harmonicsOn =
#(define-music-function (parser location) ()
- (_i "Set the default note head style to a diamond-shaped style.")
- (override-head-style '(NoteHead TabNoteHead) 'harmonic))
+ (_i "Set the default note head style to a diamond-shaped style.")
+ (context-spec-music
+ (override-head-style '(NoteHead TabNoteHead) 'harmonic) 'Bottom))
harmonicsOff = \defaultNoteHeads
harmonicNote =
#(define-music-function (parser location note) (ly:music?)
incipit =
#(define-music-function (parser location incipit-music) (ly:music?)
+ (_i "Output @var{incipit-music} before the main staff as an indication of
+ its appearance in the original music.")
#{
\once \override Staff.InstrumentName.stencil =
#(lambda (grob)
palmMuteOn =
#(define-music-function (parser location) ()
- (_i "Set the default note head style to a triangle-shaped style.")
- (override-head-style 'NoteHead 'do))
+ (_i "Set the default note head style to a triangle-shaped style.")
+ (context-spec-music
+ (override-head-style 'NoteHead 'do) 'Bottom))
palmMuteOff = \defaultNoteHeads
palmMute =
#(define-music-function (parser location note) (ly:music?)
\override PhrasingSlur.dash-definition = #'((0 1 0.1 0.75))
phrasingSlurHalfDashed =
\override PhrasingSlur.dash-definition = #'((0 0.5 0.4 0.75)
- (0.5 1 1 1))
+ (0.5 1 1 1))
phrasingSlurHalfSolid =
\override PhrasingSlur.dash-definition = #'((0 0.5 1 1)
- (0.5 1 0.4 0.75))
+ (0.5 1 0.4 0.75))
phrasingSlurSolid =
\revert PhrasingSlur.dash-definition
%% shifts
+shiftOff = \override NoteColumn.horizontal-shift = #0
shiftOn = \override NoteColumn.horizontal-shift = #1
shiftOnn = \override NoteColumn.horizontal-shift = #2
shiftOnnn = \override NoteColumn.horizontal-shift = #3
-shiftOff = \revert NoteColumn.horizontal-shift
%% slurs
slurDashed = \override Slur.dash-definition = #'((0 1 0.4 0.75))
slurDotted = \override Slur.dash-definition = #'((0 1 0.1 0.75))
slurHalfDashed = \override Slur.dash-definition = #'((0 0.5 0.4 0.75)
- (0.5 1 1 1))
+ (0.5 1 1 1))
slurHalfSolid = \override Slur.dash-definition = #'((0 0.5 1 1)
- (0.5 1 0.4 0.75))
+ (0.5 1 0.4 0.75))
slurSolid = \revert Slur.dash-definition
tieDashed = \override Tie.dash-definition = #'((0 1 0.4 0.75))
tieDotted = \override Tie.dash-definition = #'((0 1 0.1 0.75))
tieHalfDashed = \override Tie.dash-definition = #'((0 0.5 0.4 0.75)
- (0.5 1 1 1))
+ (0.5 1 1 1))
tieHalfSolid = \override Tie.dash-definition = #'((0 0.5 1 1)
- (0.5 1 0.4 0.75))
+ (0.5 1 0.4 0.75))
tieSolid = \revert Tie.dash-definition
xNotesOn =
#(define-music-function (parser location) ()
- (_i "Set the default note head style to a cross-shaped style.")
- (override-head-style '(TabNoteHead NoteHead) 'cross))
+ (_i "Set the default note head style to a cross-shaped style.")
+ (context-spec-music
+ (override-head-style '(TabNoteHead NoteHead) 'cross) 'Bottom))
xNotesOff = \defaultNoteHeads
xNote =
#(define-music-function (parser location note) (ly:music?)