]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/adding-timing-marks-to-long-glissandi.ly
Imported Upstream version 2.19.45
[lilypond.git] / Documentation / snippets / adding-timing-marks-to-long-glissandi.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.18.0"
8
9 \header {
10   lsrtags = "expressive-marks, staff-notation, tweaks-and-overrides"
11
12   texidoc = "
13 Skipped beats in very long glissandi are sometimes indicated by timing
14 marks, often consisting of stems without noteheads.  Such stems can
15 also be used to carry intermediate expression markings.
16
17 If the stems do not align well with the glissando, they may need to be
18 repositioned slightly.
19
20 "
21   doctitle = "Adding timing marks to long glissandi"
22 } % begin verbatim
23
24 glissandoSkipOn = {
25   \override NoteColumn.glissando-skip = ##t
26   \hide NoteHead
27   \override NoteHead.no-ledgers = ##t
28 }
29
30 glissandoSkipOff = {
31   \revert NoteColumn.glissando-skip
32   \undo \hide NoteHead
33   \revert NoteHead.no-ledgers
34 }
35
36 \relative c'' {
37   r8 f8\glissando
38   \glissandoSkipOn
39   f4 g a a8\noBeam
40   \glissandoSkipOff
41   a8
42
43   r8 f8\glissando
44   \glissandoSkipOn
45   g4 a8
46   \glissandoSkipOff
47   a8 |
48
49   r4 f\glissando \<
50   \glissandoSkipOn
51   a4\f \>
52   \glissandoSkipOff
53   b8\! r |
54 }