X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fflute-slap-notation.ly;h=e30eda728891e6b965a2cf01b67cd79420eb0fb1;hb=f0a8d907612e79271f97a2936165f57505b12350;hp=de9405d2c1ef9bcf1728b489bd0eb565f3162e8f;hpb=a229fafa17dfdc0638326fab4368fffcfbf38d2a;p=lilypond.git diff --git a/Documentation/snippets/flute-slap-notation.ly b/Documentation/snippets/flute-slap-notation.ly index de9405d2c1..e30eda7288 100644 --- a/Documentation/snippets/flute-slap-notation.ly +++ b/Documentation/snippets/flute-slap-notation.ly @@ -4,7 +4,7 @@ %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. -\version "2.14.2" +\version "2.17.25" \header { lsrtags = "contemporary-notation, winds" @@ -22,11 +22,11 @@ glyph. slap = #(define-music-function (parser location 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 +36,8 @@ slap = 0) (/ thickness 2))))) $music - \revert NoteHead #'stencil - \revert NoteHead #'stem-attachment + \revert NoteHead.stencil + \revert NoteHead.stem-attachment #}) \relative c' {