lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Arpeggio across notes of differing lengths


From: Robin Bannister
Subject: Re: Arpeggio across notes of differing lengths
Date: Wed, 6 Jul 2016 22:16:06 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

Joel C. Salomon wrote:
In the score to Peter Pan I’ve come across what appears to be an
arpeggio with notes of different lengths.

This corresponds to the example
'Creating arpeggios across notes in different voices'
in NR 1.3.3.
http://lilypond.org/doc/v2.19/Documentation/notation/expressive-marks-as-lines#arpeggio

but unfortunately its says further down
'The simple way of setting parenthesis-style arpeggio brackets does not work for cross-staff arpeggios'


This is because \arpeggioParenthesis assumes you are inside just one Voice, and so is ineffective for PianoStaff and even just Staff.
So you must do what it does, but for Staff, e.g.


\new Staff \with {
  \consists "Span_arpeggio_engraver"
}
\relative c' {
  \set Staff.connectArpeggios = ##t
  \once \override Staff.Arpeggio.stencil = #ly:arpeggio::brew-chord-slur
  \once \override Staff.Arpeggio.X-extent = #ly:grob::stencil-width
  <<
    { <e' g>4\arpeggio <d f> <d f>2 }
    \\
    { <d, f>2\arpeggio <g b>2 }
  >>
}


Cheers,
Robin

Attachment: InstaffParenthesis.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]