]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/using-ties-with-arpeggios.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / using-ties-with-arpeggios.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 = "rhythms"
11
12   texidoc = "
13 Ties are sometimes used to write out arpeggios.  In this case, two tied
14 notes need not be consecutive.  This can be achieved by setting the
15 @code{tieWaitForNote} property to @code{#t}.  The same feature is also
16 useful, for example, to tie a tremolo to a chord, but in principle, it
17 can also be used for ordinary consecutive notes.
18
19 "
20   doctitle = "Using ties with arpeggios"
21 } % begin verbatim
22
23 \relative c' {
24   \set tieWaitForNote = ##t
25   \grace { c16[ ~ e ~ g] ~ } <c, e g>2
26   \repeat tremolo 8 { c32 ~ c' ~ } <c c,>1
27   e8 ~ c ~ a ~ f ~ <e' c a f>2
28   \tieUp
29   c8 ~ a
30   \tieDown
31   \tieDotted
32   g8 ~ c g2
33 }