-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
-\version "2.16.0"
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.22
+\version "2.19.22"
\header {
lsrtags = "contemporary-notation, winds"
doctitle = "Flute slap notation"
} % begin verbatim
-
slap =
-#(define-music-function (parser location music) (ly:music?)
+#(define-music-function (music) (ly:music?)
#{
- \override NoteHead #'stencil =
+ \temporary \override NoteHead.stencil =
#(lambda (grob)
(grob-interpret-markup grob
(markup #:musicglyph "scripts.sforzato")))
- \override NoteHead #'stem-attachment =
+ \temporary \override NoteHead.stem-attachment =
#(lambda (grob)
(let* ((thickness (ly:staff-symbol-line-thickness grob))
(stem (ly:grob-object grob 'stem))
0.5
0)
(/ thickness 2)))))
- $music
- \revert NoteHead #'stencil
- \revert NoteHead #'stem-attachment
+ #music
+ \revert NoteHead.stencil
+ \revert NoteHead.stem-attachment
#})
\relative c' {