]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/creating-arpeggios-across-notes-in-different-voices.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / creating-arpeggios-across-notes-in-different-voices.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.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.16.0"
8
9 \header {
10   lsrtags = "expressive-marks"
11
12   texidoc = "
13 An arpeggio can be drawn across notes in different voices on the same
14 staff if the @code{Span_arpeggio_engraver} is added to the @code{Staff}
15 context:
16
17 "
18   doctitle = "Creating arpeggios across notes in different voices"
19 } % begin verbatim
20
21
22 \new Staff \with {
23   \consists "Span_arpeggio_engraver"
24 }
25 \relative c' {
26   \set Staff.connectArpeggios = ##t
27   <<
28     { <e' g>4\arpeggio <d f> <d f>2 }
29     \\
30     { <d, f>2\arpeggio <g b>2 }
31   >>
32 }