]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/flute-slap-notation.ly
Issue 4507/5: Update snippet changing-properties-for-individual-grobs.ly
[lilypond.git] / Documentation / snippets / flute-slap-notation.ly
index b8ca28875591b483998571bcba5c87a97108630c..cdbe9fa6c2cb626089d4cb58826901936ab17f6e 100644 (file)
@@ -1,13 +1,13 @@
 %% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.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.14.2"
+\version "2.19.22"
 
 \header {
-  lsrtags = "winds, contemporary-notation"
+  lsrtags = "contemporary-notation, winds"
 
   texidoc = "
 It is possible to indicate special articulation techniques such as a
@@ -18,15 +18,14 @@ glyph.
   doctitle = "Flute slap notation"
 } % begin verbatim
 
-
 slap =
-#(define-music-function (parser location music) (ly:music?)
+#(define-music-function (music) (ly:music?)
 #{
-  \override NoteHead #'stencil =
+  \override NoteHead.stencil =
   #(lambda (grob)
      (grob-interpret-markup grob
       (markup #:musicglyph "scripts.sforzato")))
-  \override NoteHead #'stem-attachment =
+  \override NoteHead.stem-attachment =
   #(lambda (grob)
      (let* ((thickness (ly:staff-symbol-line-thickness grob))
             (stem (ly:grob-object grob 'stem))
@@ -36,8 +35,8 @@ slap =
                       0)
                   (/ thickness 2)))))
   $music
-  \revert NoteHead #'stencil
-  \revert NoteHead #'stem-attachment
+  \revert NoteHead.stencil
+  \revert NoteHead.stem-attachment
 #})
 
 \relative c' {