X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fflute-slap-notation.ly;h=cdbe9fa6c2cb626089d4cb58826901936ab17f6e;hb=2501bd6a985bab5d5c7a744b15429727293efa45;hp=b8ca28875591b483998571bcba5c87a97108630c;hpb=f22c889b1389cb7d761580762fe77973780f2f86;p=lilypond.git diff --git a/Documentation/snippets/flute-slap-notation.ly b/Documentation/snippets/flute-slap-notation.ly index b8ca288755..cdbe9fa6c2 100644 --- a/Documentation/snippets/flute-slap-notation.ly +++ b/Documentation/snippets/flute-slap-notation.ly @@ -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' {