]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/flute-slap-notation.ly
Merge branch 'master' into nested-bookparts
[lilypond.git] / input / lsr / flute-slap-notation.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.62"
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 slap =
18 #(define-music-function (parser location music) (ly:music?)
19 #{\override NoteHead #'stencil = #ly:text-interface::print
20   \override NoteHead #'text = \markup \musicglyph #"scripts.sforzato"
21   \override NoteHead #'extra-offset = #'(0.1 . 0.0 )
22   $music
23   \revert NoteHead #'stencil
24   \revert NoteHead #'text
25   \revert NoteHead #'extra-offset #})
26
27 \relative c' {
28   c \slap c d r \slap { g a } b r
29 }