]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/adding-timing-marks-to-long-glissandi.ly
Imported Upstream version 2.16.1
[lilypond.git] / Documentation / snippets / adding-timing-marks-to-long-glissandi.ly
diff --git a/Documentation/snippets/adding-timing-marks-to-long-glissandi.ly b/Documentation/snippets/adding-timing-marks-to-long-glissandi.ly
new file mode 100644 (file)
index 0000000..587a5d9
--- /dev/null
@@ -0,0 +1,56 @@
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.15.15
+\version "2.15.15"
+
+\header {
+  lsrtags = "expressive-marks, staff-notation, tweaks-and-overrides"
+
+  texidoc = "
+Skipped beats in very long glissandi are sometimes indicated by
+timing marks, often consisting of stems without noteheads.  Such
+stems can also be used to carry intermediate expression markings.
+
+If the stems do not align well with the glissando, they may need to
+be repositioned slightly.
+"
+
+  doctitle = "Adding timing marks to long glissandi"
+} % begin verbatim
+
+
+glissandoSkipOn = {
+  \override NoteColumn #'glissando-skip = ##t
+  \override NoteHead #'transparent = ##t
+  \override NoteHead #'no-ledgers = ##t
+}
+
+glissandoSkipOff = {
+  \revert NoteColumn #'glissando-skip
+  \revert NoteHead #'transparent
+  \revert NoteHead #'no-ledgers
+}
+
+\relative c'' {
+  r8 f8\glissando
+  \glissandoSkipOn
+  f4 g a a8\noBeam
+  \glissandoSkipOff
+  a8
+
+  r8 f8\glissando
+  \glissandoSkipOn
+  g4 a8
+  \glissandoSkipOff
+  a8 |
+
+  r4 f\glissando \<
+  \glissandoSkipOn
+  a4\f \>
+  \glissandoSkipOff
+  b8\! r |
+}