1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
6 % This file is in the public domain.
7 %% Note: this file works from version 2.19.22
11 lsrtags = "contemporary-notation, winds"
14 It is possible to indicate special articulation techniques such as a
15 flute @qq{tongue slap} by replacing the note head with the appropriate
19 doctitle = "Flute slap notation"
23 #(define-music-function (music) (ly:music?)
25 \temporary \override NoteHead.stencil =
27 (grob-interpret-markup grob
28 (markup #:musicglyph "scripts.sforzato")))
29 \temporary \override NoteHead.stem-attachment =
31 (let* ((thickness (ly:staff-symbol-line-thickness grob))
32 (stem (ly:grob-object grob 'stem))
33 (dir (ly:grob-property stem 'direction UP)))
34 (cons 1 (+ (if (= dir DOWN)
39 \revert NoteHead.stencil
40 \revert NoteHead.stem-attachment