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.
6 lsrtags
= "expressive-marks, unfretted-strings"
9 A snap-pizzicato (also known as \"Bartok pizzicato\") is a \"strong
10 pizzicato where the string is plucked vertically by snapping and
11 rebounds off the fingerboard of the instrument\" (Wikipedia). It is
12 denoted by a cicle with a vertical line going from the center upwards
13 outside the circle. While Lilypond does not have a pre-defined command
14 to created this markup, it is easy to create a definition and place it
15 directly into the lilypond file.
18 doctitle
= "Snap-pizzicato markup (\"Bartok pizzicato\")"
21 % Definition of the snappizz markup to print snap-pizzicato articulations.
22 % These are also known as "Bartok pizzicato" and are denotes by a circle with a
23 % vertical line from the center of the circle upwards:
24 #(define-markup-command
(snappizz layout props
) ()
25 (interpret-markup layout props
27 (ly
:stencil-translate-axis
29 (make-circle-stencil
0.7 0.1 #f)
31 (list
'draw-line
0.1 0 0.1 0 1)
32 '(-
0.1 . 0.1) '(0.1 . 1)
40 snappizzicato
= \markup \snappizz
42 % now it can be used as \snappizzicato after the note/chord
43 % Note, that a direction (-, ^ or _) is REQUIRED!
46 % < c e g>\snappizzicato % This does NOT work
47 < c' e g>-
\snappizzicato
48 < c' e g>^\snappizzicato
49 < c, e g>_\snappizzicato