]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/flute-slap-notation.ly
Merge commit 'origin' into systems-per-page
[lilypond.git] / input / lsr / flute-slap-notation.ly
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 \version "2.13.1"
4
5 \header {
6   lsrtags = "winds"
7
8   texidoc = "
9 It is possible to indicate special articulation techniques such as
10 flute's \"tongue slap\", by replacing the note head with the
11 appropriate glyph.
12
13 "
14   doctitle = "Flute slap notation"
15 } % begin verbatim
16
17
18 slap =
19 #(define-music-function (parser location music) (ly:music?)
20 #{
21   \override NoteHead #'stencil = #(lambda (grob)
22     (grob-interpret-markup grob
23       (markup #:musicglyph "scripts.sforzato")))
24   \override NoteHead #'extra-offset = #'(0.1 . 0.0)
25   $music
26   \revert NoteHead #'stencil
27   \revert NoteHead #'extra-offset
28 #})
29
30 \relative c' {
31   c4 \slap c d r \slap { g a } b r
32 }