]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/extending-glissandi-across-repeats.ly
Merge remote branch 'origin/release/unstable' into HEAD
[lilypond.git] / Documentation / snippets / extending-glissandi-across-repeats.ly
index 629b657ebf43d91b8a7b9cb8c60b5fb3ffa0b128..bd18a741f45f89dc3fdb9490b653bf56deb6f82f 100644 (file)
@@ -1,24 +1,25 @@
-% 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.17.6
-\version "2.17.6"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
 
 \header {
   lsrtags = "staff-notation, tweaks-and-overrides"
+
   texidoc = "
-A glissando which extends into several @code{\\alternative} blocks
-can be simulated by adding a hidden grace note with a glissando
-at the start of each @code{\\alternative} block.  The grace note
-should be at the same pitch as the note which starts the initial
-glissando.  This is implemented here with a music function which
-takes the pitch of the grace note as its argument.
+A glissando which extends into several @code{\\alternative} blocks can
+be simulated by adding a hidden grace note with a glissando at the
+start of each @code{\\alternative} block.  The grace note should be at
+the same pitch as the note which starts the initial glissando.  This is
+implemented here with a music function which takes the pitch of the
+grace note as its argument.
 
 Note that in polyphonic music the grace note must be matched with
 corresponding grace notes in all other voices.
+
 "
   doctitle = "Extending glissandi across repeats"
 } % begin verbatim
@@ -53,7 +54,7 @@ music =  \relative c' {
   }
   \alternative {
     { d1 }
-    { \repeatGliss c e1 }
+    { \repeatGliss c \once \omit StringNumber e1\2 }
   }
 }
 
@@ -66,4 +67,4 @@ music =  \relative c' {
       \context TabVoice { \clef "moderntab" \music }
     >>
   >>
-}
\ No newline at end of file
+}