]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/creating-arpeggios-across-notes-in-different-voices.ly
Imported Upstream version 2.19.45
[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.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"
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 \new Staff \with {
22   \consists "Span_arpeggio_engraver"
23 }
24 \relative c' {
25   \set Staff.connectArpeggios = ##t
26   <<
27     { <e' g>4\arpeggio <d f> <d f>2 }
28     \\
29     { <d, f>2\arpeggio <g b>2 }
30   >>
31 }